-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.63 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"scripts": {
"start": "nodemon main.js",
"env:local": "node scripts/copyEnv.cjs local",
"env:docker": "node scripts/copyEnv.cjs docker",
"env:compose": "node scripts/copyEnv.cjs compose",
"dev:local": "npm run env:local && npm run start",
"dev:compose": "npm run env:compose && docker-compose -f docker-compose-dev.yml up --build",
"dev:docker": "npm run env:docker && npm run docker:build && npm run docker:run",
"docker:build": "docker build -t beats-interaction .",
"docker:run": "docker run -it --rm --name beats-interaction -p 3000:3000 --add-host=host.docker.internal:host-gateway --env-file .env beats-interaction",
"test": "cross-env NODE_ENV=test ENABLE_REDIS=false ENABLE_KAFKA=false ENABLE_PRICING=false vitest --run ./tests/unit",
"test:unit": "cross-env NODE_ENV=test ENABLE_REDIS=false ENABLE_KAFKA=false ENABLE_PRICING=false vitest --run ./tests/unit",
"test:inproc": "cross-env NODE_ENV=test ENABLE_REDIS=false ENABLE_KAFKA=false ENABLE_PRICING=false vitest --run ./tests/unit",
"test:outproc": "cross-env vitest ENABLE_REDIS=false ENABLE_KAFKA=false ENABLE_PRICING=false --config vitest.integration.config.js --run ./tests/integration",
"test:watch": "cross-env NODE_ENV=test ENABLE_REDIS=false ENABLE_KAFKA=false ENABLE_PRICING=false vitest --watch ./tests/unit",
"test:coverage": "cross-env NODE_ENV=test ENABLE_REDIS=false ENABLE_KAFKA=false ENABLE_PRICING=false vitest --coverage --run ./tests/unit",
"lint": "prettier --check '**/*.{cjs,js,ts,css,md}'",
"lint:fix": "prettier --write '**/*.{cjs,js,ts,css,md}'",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts,json,css,md}": [
"prettier --write"
]
},
"type": "module",
"dependencies": {
"axios": "^1.13.2",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.1.0",
"ioredis": "^5.8.2",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^9.0.2",
"kafkajs": "^2.2.4",
"marked": "^17.0.0",
"mongodb-memory-server": "^10.3.0",
"mongoose": "^8.19.3",
"node-cron": "^4.2.1",
"space-node-client": "^0.3.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.18.3"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@vitest/coverage-istanbul": "^2.1.9",
"cross-env": "^10.1.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"nodemon": "^3.1.10",
"prettier": "^3.6.2",
"supertest": "^7.1.4",
"testcontainers": "^11.10.0",
"vitest": "^2.1.9"
}
}