-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
136 lines (136 loc) · 4.41 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "nest-mini-blog",
"version": "0.0.1",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"prod": "cross-env NODE_ENV=production pm2 start dist/main.js --name 'nest-mini-blog'",
"stop": "pm2 delete nest-mini-blog",
"build": "tsc -p tsconfig.build.json && cp -R ./package.json ./dist/package.json",
"format": "prettier --config .prettierrc --write \"src/**/*.ts\"",
"start": "cross-env API_ENV=development ts-node -r tsconfig-paths/register src/main.ts",
"start-test": "cross-env API_ENV=test ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "cross-env API_ENV=development concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
"start:dev-test": "cross-env API_ENV=test concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && npm run build",
"start:prod": "cross-env NODE_ENV=production ts-node -r tsconfig-paths/register src/main.ts",
"lint": "tslint -p tsconfig.json -c tslint.json",
"lint:fix": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts' --fix",
"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",
"migration:generate": "ts-node node_modules/.bin/typeorm migration:generate",
"migration:create": "ts-node node_modules/.bin/typeorm migration:crteate",
"migration:run": "ts-node node_modules/.bin/typeorm migration:run",
"migration:revert": "ts-node node_modules/.bin/typeorm migration:revert",
"commit": "git-cz"
},
"dependencies": {
"@nestjs/common": "^6.0.0",
"@nestjs/core": "^6.0.0",
"@nestjs/jwt": "^6.1.1",
"@nestjs/passport": "^6.1.0",
"@nestjs/platform-express": "^6.0.0",
"@nestjs/serve-static": "^1.0.1",
"@nestjs/swagger": "^3.1.0",
"@nestjs/typeorm": "^6.1.3",
"@nestjsx/crud": "^4.1.0",
"@nestjsx/crud-typeorm": "^4.1.0",
"@typegoose/typegoose": "^6.1.2",
"@types/bcryptjs": "^2.4.2",
"@types/mongodb": "^3.3.11",
"@types/mongoose": "^5.5.32",
"@types/multer": "^1.3.10",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.2.3",
"class-validator": "^0.9.1",
"express-rate-limit": "^5.0.0",
"global": "^4.4.0",
"hbs": "^4.0.4",
"helmet": "^3.20.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.15",
"log4js": "^4.5.1",
"moment": "^2.24.0",
"mongodb": "^3.3.3",
"mongoose": "^5.7.11",
"multer": "^1.4.2",
"mysql": "^2.17.1",
"nestjs-typegoose": "^7.0.0",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"pm2": "^4.2.0",
"reflect-metadata": "^0.1.12",
"rimraf": "^2.6.2",
"rxjs": "^6.3.3",
"stacktrace-js": "^2.0.0",
"swagger-ui-express": "^4.0.7",
"typegoose": "^5.9.1",
"typeorm": "^0.2.18",
"youch": "^2.0.10"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@nestjs/testing": "^6.0.0",
"@types/express": "^4.16.0",
"@types/jest": "^23.3.13",
"@types/node": "^10.12.18",
"@types/supertest": "^2.0.7",
"commitizen": "^4.0.3",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.0.2",
"jest": "^23.6.0",
"lint-staged": "^9.2.1",
"nodemon": "^1.18.9",
"prettier": "^1.15.3",
"supertest": "^3.4.1",
"ts-jest": "24.0.2",
"ts-node": "8.1.0",
"tsconfig-paths": "3.8.0",
"tslint": "5.16.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "3.7",
"wait-on": "^3.2.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"roots": [
"src",
"test"
],
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"coveragePathIgnorePatterns": [
"<rootDir>/test/",
"<rootDir>/node_modules/",
"<rootDir>/src/config/"
],
"testEnvironment": "node"
},
"lint-staged": {
"src/**/*.ts": [
"npm run format",
"npm run lint:fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
}
}