-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.58 KB
/
package.json
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
63
64
65
66
67
{
"name": "poll-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc",
"test": " NODE_ENV=test pnpm exec jest --runInBand --forceExit",
"infra:up": "docker compose up -d && sleep 10 && pnpm exec dbmate --migrations-dir ./src/config/database/migrations up && sleep 2 && pnpm exec dbmate --migrations-dir ./src/config/database/seeds up",
"infra:down": "docker compose down",
"db:migrate:up": "pnpm exec dbmate --migrations-dir ./src/config/database/migrations up",
"db:migrate:down": "pnpm exec dbmate --migrations-dir ./src/config/database/migrations down",
"db:seed": "pnpm exec dbmate --migrations-dir ./src/config/database/seeds up",
"start": "npx ts-node src/index.ts",
"start:dev": "npx nodemon --require ./src/config/instrumentation.ts src/index.ts",
"container:up": "docker build -t poll-api . && docker container run -d -p 3000:3000 --name poll --env-file .env -e DB_HOST='mysql' --network pollNetwork --log-driver fluentd --log-opt fluentd-address=127.0.0.1:24224 --log-opt fluentd-async-connect=true --log-opt tag=poll-api poll-api",
"container:down": "docker rm -f poll"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/body-parser": "^1.19.4",
"@types/compression": "^1.7.4",
"@types/cors": "^2.8.15",
"@types/express": "^4.17.20",
"@types/jest": "^29.5.8",
"@types/node": "^20.8.10",
"@types/supertest": "^2.0.16",
"@types/uuid": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@opentelemetry/api": "^1.7.0",
"@opentelemetry/auto-instrumentations-node": "^0.41.1",
"@opentelemetry/exporter-trace-otlp-proto": "^0.48.0",
"@opentelemetry/sdk-metrics": "^1.21.0",
"@opentelemetry/sdk-node": "^0.48.0",
"@opentelemetry/sdk-trace-node": "^1.21.0",
"body-parser": "^1.20.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dayjs": "^1.11.10",
"dbmate": "^2.7.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"iconv-lite": "^0.6.3",
"jest": "^29.7.0",
"mysql2": "^3.6.3",
"npx": "^10.2.2",
"supertest": "^6.3.3",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"zod": "^3.22.4"
}
}