-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
133 lines (133 loc) · 3.81 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "nest-todo",
"version": "1.2.0",
"description": "",
"main": "dist/index.js",
"dependencies": {
"@nestjs/common": "6.4.1",
"@nestjs/core": "6.4.1",
"@nestjs/passport": "6.1.0",
"@nestjs/platform-express": "6.4.1",
"@nestjs/swagger": "^3.0.2",
"class-transformer": "0.2.3",
"class-validator": "0.9.1",
"compression": "1.7.4",
"config": "3.1.0",
"helmet": "3.18.0",
"lodash": "4.17.11",
"lokijs": "^1.5.6",
"morgan": "1.9.1",
"nodemon": "1.19.1",
"passport": "0.4.0",
"passport-http": "0.3.0",
"reflect-metadata": "0.1.13",
"response-time": "2.3.2",
"rxjs": "6.3.3",
"swagger-ui-express": "4.0.7",
"tslib": "1.9.3"
},
"devDependencies": {
"@commitlint/cli": "8.0.0",
"@commitlint/config-conventional": "8.0.0",
"@nestjs/testing": "6.4.1",
"@semantic-release/changelog": "3.0.4",
"@semantic-release/git": "7.0.16",
"@types/compression": "0.0.36",
"@types/jest": "23.3.1",
"@types/jest-when": "2.4.1",
"@types/lodash": "4.14.129",
"@types/lokijs": "1.5.2",
"@types/morgan": "1.7.35",
"@types/passport-http": "0.3.8",
"@types/response-time": "2.3.3",
"@types/supertest": "2.0.7",
"conventional-changelog-angular": "5.0.3",
"coveralls": "3.0.4",
"husky": "1.3.1",
"jest": "24.7.1",
"jest-when": "^2.6.0",
"lint-staged": "8.1.5",
"semantic-release": "15.13.3",
"supertest": "4.0.2",
"ts-jest": "24.0.1",
"ts-node": "8.0.2",
"tslint": "5.16.0",
"tslint-config-airbnb": "5.11.1",
"tsutils": "3.14.0",
"typescript": "3.5.2"
},
"scripts": {
"lint": "tslint --exclude '**/*.d.ts' src/**/*.ts",
"lint:verify:build": "tsc -p tsconfig-prod.json --noEmit",
"dist:tsc": "tsc -p tsconfig-prod.json && cp -r src/conf dist",
"dist:prepare": "rm -rf node_modules && npm install --production",
"dist:build": "npm run dist:tsc && npm run dist:prepare",
"dist:artifact": "zip -rv current.zip dist node_modules package.json .nvmrc tsconfig.json",
"dist": "npm run dist:build && npm run dist:artifact",
"clean": "rm -f current.zip && rm -rf node_modules && rm -rf dist && rm -f package-lock.json",
"cover": "NODE_ENV=test jest --config ./jest-cover.json --coverage --bail --forceExit",
"test": "npm run lint && NODE_ENV=test jest",
"test:e2e": "jest --config ./jest-e2e.json --forceExit --bail",
"test:watch": "NODE_ENV=test jest --watch",
"start": "nodemon dist/app.js",
"start:local": "NODE_ENV=local ts-node -T src/app.ts",
"start:local:watch": "NODE_ENV=local nodemon --watch src -e ts --exec \"ts-node\" -T src/app.ts",
"release": "semantic-release --no-ci"
},
"repository": {
"type": "git",
"url": "git+https://github.com/immanuel192/nest-todo.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/immanuel192/nest-todo/issues"
},
"homepage": "https://github.com/immanuel192/nest-todo#readme",
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": ".spec.ts$",
"testPathIgnorePatterns": [
"/node_modules/"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts",
"!<rootDir>/src/**/*.d.ts",
"!**/node_modules/**"
],
"testEnvironment": "node"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
100
]
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"tslint --exclude '**/*.d.ts' src/**/*.ts --fix",
"git add"
]
}
}