-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·86 lines (86 loc) · 2.48 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
{
"name": "cx-pss-server",
"version": "2.0.0",
"description": "A Miniprogram pss server.",
"author": "longjl@caixie.top",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "NODE_ENV=development ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "NODE_ENV=development nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && npm run build",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"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"
},
"dependencies": {
"@nestjs/common": "^6.0.0",
"@nestjs/core": "^6.0.0",
"@nestjs/jwt": "^6.0.0",
"@nestjs/passport": "^6.0.0",
"@nestjs/platform-express": "^6.0.0",
"@nestjs/typeorm": "^6.0.0",
"akismet-api": "^4.2.0",
"bcrypt": "^3.0.6",
"cache-manager": "^2.9.0",
"cache-manager-redis-store": "^1.5.0",
"class-transformer": "^0.2.0",
"class-validator": "^0.9.1",
"compression": "^1.7.4",
"csurf": "^1.9.0",
"geoip-lite": "^1.3.7",
"helmet": "^3.16.0",
"js-base64": "^2.5.1",
"mysql": "^2.17.0",
"node-schedule": "^1.3.2",
"passport": "^0.4.0",
"passport-http-bearer": "^1.0.1",
"passport-jwt": "^4.0.0",
"qiniu": "^7.2.1",
"redis": "^2.8.0",
"reflect-metadata": "^0.1.12",
"rimraf": "^2.6.2",
"rxjs": "^6.3.3",
"typeorm": "^0.2.16",
"wechat-jssdk": "^4.1.0",
"yargs": "^13.2.2"
},
"devDependencies": {
"@nestjs/testing": "^6.0.0",
"@types/bcrypt": "^3.0.0",
"@types/express": "^4.16.0",
"@types/jest": "^23.3.13",
"@types/lodash": "^4.14.123",
"@types/node": "^10.12.18",
"@types/supertest": "^2.0.7",
"jest": "^23.6.0",
"nodemon": "^1.18.9",
"prettier": "^1.15.3",
"supertest": "^3.4.1",
"ts-jest": "^23.10.5",
"ts-node": "^7.0.1",
"tsconfig-paths": "^3.7.0",
"tslint": "5.12.1",
"typescript": "^3.2.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}