-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.77 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
{
"name": "server",
"version": "0.0.1",
"description": "itxuye blog server",
"author": "itxuye",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "cross-env NODE_ENV=development nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && npm run build",
"start:prod": "node dist/main.js",
"start:hmr": "node dist/server",
"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",
"dev:hmr": "cross-env NODE_ENV=development concurrently \"npm run webpack\" \"npm run start\" "
},
"dependencies": {
"@nestjs/common": "^6.3.2",
"@nestjs/core": "^6.3.2",
"@nestjs/graphql": "^6.2.4",
"@nestjs/passport": "^6.1.0",
"@nestjs/typeorm": "^6.1.2",
"apollo-server-express": "^2.6.7",
"bcrypt": "^3.0.3",
"cache-manager": "^2.9.0",
"class-transformer": "^0.2.3",
"class-validator": "^0.9.1",
"compression": "^1.7.3",
"crypto-js": "^3.1.9-1",
"dotenv": "^8.0.0",
"faker": "^4.1.0",
"graphql": "^14.4.0",
"graphql-tools": "^4.0.5",
"joi": "^14.3.1",
"jsonwebtoken": "^8.4.0",
"log4js": "^4.0.1",
"mysql": "^2.17.1",
"passport": "^0.4.0",
"passport-http-bearer": "^1.0.1",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.12",
"rimraf": "^2.6.2",
"rxjs": "^6.5.2",
"typeorm": "^0.2.18",
"typescript": "^3.5.2"
},
"devDependencies": {
"@nestjs/testing": "^6.3.2",
"@types/crypto-js": "^3.1.43",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.17.0",
"@types/jest": "^24.0.0",
"@types/joi": "^14.3.1",
"@types/mocha": "^5.2.5",
"@types/node": "^10.7.1",
"@types/supertest": "^2.0.5",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"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",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
"webpack-node-externals": "^1.7.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}