-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.13 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
{
"name": "weishour",
"version": "0.0.1",
"description": "唯守服务",
"author": "",
"scripts": {
"prebuild": "rimraf dist",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "tsc-watch -p tsconfig.build.json --onSuccess \"node -r ts-node/register/transpile-only -r tsconfig-paths/register dist/src/main.js\"",
"start:debug": "tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk -r ts-node/register/transpile-only -r tsconfig-paths/register dist/src/main.js\"",
"start:prod": "node -r ts-node/register/transpile-only -r tsconfig-paths/register dist/src/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",
"webpack": "webpack --config webpack.config.js",
"doc": "npx compodoc -p tsconfig.json -d ./client/doc -t --language zh-CN --hideGenerator --theme stripe -n \"weishour 唯守服务\" --customFavicon ./public/img/logo.png"
},
"dependencies": {
"@hapi/joi": "^17.1.1",
"@nest-modules/mailer": "^1.3.22",
"@nestjs/common": "^7.0.9",
"@nestjs/config": "^0.4.0",
"@nestjs/core": "^7.0.9",
"@nestjs/platform-express": "^7.0.9",
"@nestjs/platform-socket.io": "^7.0.9",
"@nestjs/platform-ws": "^7.0.9",
"@nestjs/serve-static": "^2.1.0",
"@nestjs/typeorm": "^7.0.0",
"@nestjs/websockets": "^7.0.9",
"date-fns": "^2.12.0",
"lodash": "^4.17.15",
"mysql": "^2.18.1",
"nest-router": "^1.0.9",
"redis": "^3.0.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.5",
"socket.io-redis": "^5.2.0",
"typeorm": "^0.2.24"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.11",
"@nestjs/cli": "^7.1.2",
"@nestjs/schematics": "^7.0.0",
"@nestjs/testing": "^7.0.9",
"@types/express": "^4.17.6",
"@types/hapi__joi": "^16.0.12",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.4",
"@types/socket.io": "^2.1.4",
"@types/supertest": "^2.0.8",
"jest": "^25.4.0",
"prettier": "^2.0.5",
"supertest": "^4.0.2",
"ts-jest": "^25.4.0",
"ts-loader": "^7.0.1",
"ts-node": "^8.9.1",
"tsc-watch": "4.2.3",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.1.2",
"typescript": "^3.8.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-node-externals": "^1.7.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/src/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"@nr/common/(.*)": "<rootDir>/libs/common/src/$1",
"@nr/common": "<rootDir>/libs/common/src"
}
}
}