-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 2.94 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
{
"name": "nest-api-base",
"version": "0.0.1",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build:watch": "nest build --watch --webpack",
"build": "nest build --webpack",
"format": "prettier --write \"src/**/*.ts\"",
"start": "node dist/main",
"lint": "eslint './src/**/*.ts'",
"lint:fix": "eslint './src/**/*.ts' --fix",
"test": "jest -i --forceExit",
"test:watch": "jest --watch",
"test:cov": "jest --coverage -i --forceExit",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./src/test/jest-e2e.json -i --forceExit"
},
"dependencies": {
"@hapi/joi": "^16.1.7",
"@nestjs/common": "^6.7.2",
"@nestjs/core": "^6.7.2",
"@nestjs/jwt": "^6.1.1",
"@nestjs/passport": "^6.1.0",
"@nestjs/platform-express": "^6.7.2",
"@nestjs/platform-socket.io": "^6.9.0",
"@nestjs/typeorm": "^6.2.0",
"@nestjs/websockets": "^6.9.0",
"@types/faker": "^4.1.6",
"bcrypt": "^3.0.6",
"class-transformer": "^0.2.3",
"class-validator": "^0.10.2",
"dotenv": "^8.2.0",
"geolib": "^3.0.4",
"nest-schedule": "^0.6.3",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^7.12.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.5.3",
"typeorm": "^0.2.19"
},
"devDependencies": {
"@nestjs/cli": "^6.9.0",
"@nestjs/schematics": "^6.7.0",
"@nestjs/testing": "^6.8.3",
"@types/bcrypt": "^3.0.0",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.17.1",
"@types/hapi__joi": "^16.0.1",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.5",
"@types/passport-jwt": "^3.0.2",
"@types/passport-local": "^1.0.33",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"faker": "^4.1.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "1.18.2",
"socket.io-client": "^2.3.0",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-loader": "^6.1.1",
"ts-node": "^8.4.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.6.3",
"webpack-node-externals": "^1.7.2"
},
"lint-staged": {
"src/**/*.{ts,js}": [
"npm run --silent lint:fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"roots": [
"<rootDir>/src/test"
],
"testRegex": "spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node"
}
}