-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
109 lines (109 loc) · 3.72 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
{
"name": "base-app",
"version": "0.0.1",
"description": "Boilerplate for web APIs using NestJS",
"author": "Rafael Pezzetti <rafael.pezzetti@gmail.com>",
"license": "MIT",
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nest start -w",
"start:debug": "tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk dist/main.js\"",
"start:prod": "node dist/main.js",
"lint": "eslint --fix './src/**/*.ts'",
"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:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --config ./test/jest-e2e.json",
"test:e2e": "jest --config ./test/jest-e2e.json --detectOpenHandles"
},
"dependencies": {
"@hapi/joi": "^16.1.7",
"@nestjs/common": "^6.7.2",
"@nestjs/config": "^0.6.1",
"@nestjs/core": "^6.7.2",
"@nestjs/graphql": "^7.6.0",
"@nestjs/jwt": "^10.0.1",
"@nestjs/passport": "^7.1.5",
"@nestjs/platform-express": "^9.2.1",
"@nestjs/swagger": "^4.7.5",
"@nestjs/typeorm": "^6.2.0",
"apollo-server-express": "^2.16.1",
"class-transformer": "^0.3.1",
"class-validator": "^0.14.0",
"graphql": "^15.3.0",
"graphql-tools": "^7.0.4",
"mongodb": "^3.3.3",
"mysql": "^2.17.1",
"nyc": "^14.1.1",
"passport": "^0.4.1",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^7.12.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.5.3",
"swagger-ui-express": "^4.1.5",
"typeorm": "^0.2.25"
},
"devDependencies": {
"@commitlint/cli": "^12.1.2",
"@commitlint/config-conventional": "^12.1.2",
"@nestjs/cli": "^7.6.0",
"@nestjs/schematics": "^6.6.6",
"@nestjs/testing": "^6.7.1",
"@types/express": "^4.17.1",
"@types/hapi__joi": "^16.0.2",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.5",
"@types/passport-jwt": "^3.0.3",
"@types/passport-local": "^1.0.33",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.1",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"supertest": "^4.0.2",
"ts-jest": "^26.5.5",
"ts-loader": "^6.1.1",
"ts-node": "^8.4.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.6.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"collectCoverage": true
}
}