forked from Saluki/nestjs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.03 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
{
"name": "nest-template",
"version": "0.1.0",
"description": "NestJS API project template crafted for Docker environments",
"author": "Saluki",
"license": "MIT",
"private": true,
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"clean": "rimraf ./dist",
"start": "node dist/server.js",
"dev": "env-cmd -f .env nodemon",
"build": "npm run clean && tsc",
"test": "env-cmd -f .env jest --config=jest.json --notify",
"lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'",
"migration:create": "env-cmd -f .env ts-node ./node_modules/.bin/typeorm migration:create -n",
"migration:run": "env-cmd -f .env ts-node ./node_modules/.bin/typeorm migration:run",
"migration:revert": "env-cmd -f .env ts-node ./node_modules/.bin/typeorm migration:revert"
},
"dependencies": {
"@hapi/joi": "^17.1.1",
"@nestjs/common": "^7.6.13",
"@nestjs/core": "^7.6.13",
"@nestjs/platform-express": "^7.6.13",
"@nestjs/swagger": "^4.7.15",
"@nestjs/testing": "^7.6.13",
"@nestjs/typeorm": "^7.1.5",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"helmet": "^4.4.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"mysql": "^2.18.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.6",
"swagger-ui-express": "^4.1.6",
"typeorm": "^0.2.31",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/body-parser": "~1.19.0",
"@types/express": "^4.17.11",
"@types/hapi__joi": "^17.1.6",
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.168",
"@types/node": "^14.0.0",
"@types/supertest": "^2.0.8",
"@types/winston": "^2.4.4",
"env-cmd": "^10.0.1",
"husky": "^4.2.5",
"jest": "^26.6.3",
"nodemon": "^2.0.3",
"rimraf": "^3.0.2",
"supertest": "^6.1.3",
"ts-jest": "^26.5.2",
"ts-node": "^9.1.1",
"tslint": "^5.8.0",
"tslint-config-security": "^1.16.0",
"typescript": "^4.2.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}