-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
90 lines (90 loc) · 3.11 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "nodejs-todo-api-boilerplate",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "NODE_ENV=prod node dist/server.js",
"build": "tsc -p .",
"dev": "NODE_ENV=dev ts-node-dev --respawn --ignore-watch node_modules src/server.ts",
"migrate:latest": "npx knex migrate:latest --knexfile ./src/config/knexfile.ts",
"migrate:make": "npx knex --knexfile ./src/config/knexfile.ts migrate:make -x ts",
"migrate:rollback": "npx knex migrate:down --knexfile ./src/config/knexfile.ts",
"migrate:prod": "npx knex migrate:latest --knexfile ./dist/config/knexfile.js",
"seed": "npx knex seed:run --knexfile ./src/config/knexfile.ts",
"seed:prod": "npx knex seed:run --knexfile ./dist/config/knexfile.js",
"docker:run": "docker-compose -f docker-compose.dev.yml --project-name=app up",
"docker:build": "docker-compose -f docker-compose.dev.yml down && docker-compose -f docker-compose.dev.yml --project-name=app up -d --no-deps --build",
"test": "NODE_ENV=test node --trace-deprecation node_modules/jest/bin/jest --forceExit --detectOpenHandles --verbose --runInBand",
"docker:test": "docker-compose -f docker-compose.test.yml --project-name=app-tests up",
"docker:test:build": "docker-compose -f docker-compose.test.yml down && docker-compose -f docker-compose.test.yml --project-name=app-tests up -d --no-deps --build",
"generate:docs": "typedoc",
"serve:docs": "npx http-server docs"
},
"keywords": [
"nodejs",
"typescript",
"boilerplate",
"knex",
"express",
"postgres",
"inversifyjs"
],
"author": "[email protected]",
"devDependencies": {
"@types/aws-sdk": "^2.7.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/inversify": "^2.0.33",
"@types/ioredis": "^4.28.10",
"@types/jest": "^29.5.12",
"@types/joi": "^17.2.2",
"@types/knex": "^0.16.1",
"@types/node": "^20.14.5",
"@types/reflect-metadata": "^0.1.0",
"@types/shortid": "0.0.32",
"@types/supertest": "^6.0.2",
"@types/uuid": "^9.0.8",
"@types/winston": "^2.4.4",
"http-server": "^14.1.1",
"install": "^0.13.0",
"jest": "^29.7.0",
"npm": "^10.8.1",
"reflect-metadata": "^0.2.2",
"supertest": "^7.0.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typedoc": "^0.26.9",
"typescript": "^5.4.5"
},
"dependencies": {
"aws-sdk": "^2.1643.0",
"camelcase-keys": "^6.2.1",
"cls-rtracer": "^2.6.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"express-jwt": "^8.4.1",
"helmet": "^7.1.0",
"http-status": "^1.7.4",
"inversify": "^6.0.2",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"knex": "^2.5.1",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"nanoid": "^3.1.31",
"node-cron": "^3.0.3",
"pg": "^8.12.0",
"rate-limiter-flexible": "^5.0.3",
"redis": "^4.6.14",
"request-ip": "^3.3.0",
"shortid": "^2.2.15",
"to-readable-stream": "^4.0.0",
"uuid": "^10.0.0",
"winston": "^3.13.0",
"zod": "^3.23.8"
}
}