-
Notifications
You must be signed in to change notification settings - Fork 74
/
package.json
76 lines (76 loc) · 2.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
{
"name": "nest-commerce",
"version": "0.0.0",
"description": "ecommerce app with nestjs",
"author": "Kelvin Mai",
"license": "MIT",
"main": "dist/main.js",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"gcp-build": "npm run build",
"format": "prettier --write \"src/**/*.ts\"",
"start": "npm run start:prod",
"start:dev": "nodemon",
"start:test": "NODE_ENV=test nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "npm run test:e2e",
"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 --verbose"
},
"dependencies": {
"@nestjs/common": "^6.0.5",
"@nestjs/core": "^6.0.5",
"@nestjs/mongoose": "^6.0.0",
"@nestjs/passport": "^6.0.0",
"@nestjs/platform-express": "^6.0.5",
"bcrypt": "^3.0.4",
"dotenv": "^6.2.0",
"mongoose": "^5.4.20",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.2.2",
"typescript": "^3.0.1"
},
"devDependencies": {
"@nestjs/testing": "^6.0.5",
"@types/bcrypt": "^3.0.0",
"@types/dotenv": "^6.1.0",
"@types/express": "^4.16.1",
"@types/jest": "^23.3.1",
"@types/mongoose": "^5.3.15",
"@types/node": "^10.7.1",
"@types/passport-jwt": "^3.0.1",
"@types/supertest": "^2.0.5",
"jest": "^23.5.0",
"nodemon": "^1.18.3",
"prettier": "^1.14.2",
"supertest": "^3.1.0",
"ts-jest": "^23.1.3",
"ts-loader": "^4.4.2",
"ts-node": "^7.0.1",
"tsconfig-paths": "^3.5.0",
"tslint": "5.11.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}