-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 3.18 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
111
112
113
114
115
116
117
118
{
"name": "movies-catolog",
"version": "0.0.6",
"description": "",
"author": "",
"private": true,
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"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",
"test:ci": "jest --ci",
"commit": "git-cz",
"release": "standard-version -a",
"generate:badge": "all-shields-generate"
},
"dependencies": {
"@nestjs/common": "^7.6.13",
"@nestjs/core": "^7.5.4",
"@nestjs/platform-express": "^7.6.13",
"@nestjs/typeorm": "^7.1.5",
"compression": "^1.7.4",
"convict": "^6.0.0",
"cors": "^2.8.5",
"express-rate-limit": "^5.2.3",
"helmet": "^4.2.0",
"lodash": "4.17.20",
"morgan": "^1.10.0",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.4",
"typeorm": "^0.2.29"
},
"devDependencies": {
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@nestjs/cli": "^7.5.3",
"@nestjs/schematics": "^7.2.2",
"@nestjs/testing": "^7.5.4",
"@ptkdev/all-shields-cli": "^1.2.0",
"@types/compression": "^1.7.0",
"@types/convict": "^5.2.1",
"@types/cors": "^2.8.8",
"@types/express": "^4.17.3",
"@types/express-rate-limit": "^5.0.0",
"@types/helmet": "^4.0.0",
"@types/jest": "26.0.20",
"@types/lodash": "^4.14.165",
"@types/morgan": "^1.9.2",
"@types/node": "^14.14.9",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "4.8.1",
"@typescript-eslint/parser": "4.8.1",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "^3.2.0",
"eslint": "7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^4.2.5",
"jest": "26.6.3",
"lint-staged": "^10.5.1",
"prettier": "^2.2.1",
"standard-version": "^9.1.1",
"supertest": "^6.0.1",
"ts-jest": "26.4.4",
"ts-loader": "^8.0.10",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.1.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn generate:badge && lint-staged"
}
},
"lint-staged": {
"src/**/*.mdx": [
"prettier --write",
"git add"
],
"src/**/*.(js|ts)": [
"prettier --write",
"eslint --fix",
"git add"
]
}
}