-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
101 lines (101 loc) · 3 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
91
92
93
94
95
96
97
98
99
100
101
{
"name": "node-nestjs",
"version": "0.0.1",
"main": "index.js",
"scripts": {
"clean": "rimraf dist",
"start": "nest start",
"start:dev": "npm run clean && nest start --watch",
"start:hmr": "npm run start:dev -- --webpack",
"start:debug": "npm run clean && nest start --debug",
"start:debugWithWatch": "npm run start:debug -- --watch",
"build": "nest build",
"launch:dev": "cross-env LAUNCH_ENV=development NODE_ENV=production node dist/src/main",
"launch:test": "cross-env LAUNCH_ENV=test NODE_ENV=production node dist/src/main",
"launch:prev": "cross-env LAUNCH_ENV=pre-production NODE_ENV=production node dist/src/main",
"launch:prod": "cross-env LAUNCH_ENV=production NODE_ENV=production node dist/src/main",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"lint": "eslint --ext .ts .",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\""
},
"dependencies": {
"@nestjs/common": "^6.10.14",
"@nestjs/config": "0.0.9",
"@nestjs/core": "^6.10.14",
"@nestjs/jwt": "^6.1.1",
"@nestjs/passport": "^6.1.1",
"@nestjs/platform-express": "^6.10.14",
"@nestjs/typeorm": "^6.2.0",
"bcrypt": "^3.0.7",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"cross-env": "^6.0.3",
"helmet": "^3.21.2",
"lodash": "^4.17.15",
"mongodb": "^3.5.1",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.5.4",
"typeorm": "^0.2.22",
"winston": "^3.2.1",
"winston-daily-rotate-file": "^4.4.1"
},
"devDependencies": {
"@nestjs/cli": "^6.14.0",
"@nestjs/schematics": "^6.8.2",
"@nestjs/testing": "^6.10.14",
"@types/bcrypt": "^3.0.0",
"@types/express": "^4.17.2",
"@types/jest": "^24.9.0",
"@types/lodash": "^4.14.149",
"@types/multer": "^1.3.10",
"@types/node": "^13.1.8",
"@types/passport-jwt": "^3.0.3",
"@types/rimraf": "^2.0.3",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"eslint": "^6.8.0",
"husky": "^4.0.10",
"jest": "^24.9.0",
"lint-staged": "^10.0.0",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "^24.3.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test}/**/*.ts": [
"npm run lint",
"git add"
]
}
}