-
-
Notifications
You must be signed in to change notification settings - Fork 520
/
package.json
90 lines (90 loc) · 2.95 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
{
"name": "nestjsx-crud",
"version": "4.0.0",
"description": "Nest CRUD for RESTful APIs",
"license": "MIT",
"workspaces": [
"packages/*"
],
"private": true,
"scripts": {
"bootstrap": "npx lerna bootstrap",
"s": "npx nps",
"s:list": "yarn s --scripts",
"pretest": "npm run db:prepare:typeorm",
"test": "yarn s test",
"pretest:coveralls": "yarn pretest",
"test:coveralls": "yarn s test.coveralls",
"start:typeorm": "npx nodemon -w ./integration/crud-typeorm -e ts node_modules/.bin/ts-node integration/crud-typeorm/main.ts",
"db:sync:typeorm": "cd ./integration/crud-typeorm && npx ts-node -r tsconfig-paths/register ../../node_modules/.bin/typeorm schema:sync -f=orm",
"db:drop:typeorm": "cd ./integration/crud-typeorm && npx ts-node -r tsconfig-paths/register ../../node_modules/.bin/typeorm schema:drop -f=orm",
"db:seeds:typeorm": "cd ./integration/crud-typeorm && npx ts-node -r tsconfig-paths/register ../../node_modules/.bin/typeorm migration:run -f=orm",
"db:prepare:typeorm": "npm run db:drop:typeorm && npm run db:sync:typeorm && npm run db:seeds:typeorm",
"format": "npx pretty-quick",
"lint": "npx tslint 'packages/**/*.ts'",
"commit": "npx git-cz"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"yarn commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"husky": {
"hooks": {
"pre-commit": "yarn format --staged",
"pre-push": "yarn test",
"commit-msg": "npx validate-commit-msg"
}
},
"peerDependencies": {},
"optionalDependencies": {},
"dependencies": {
"@nestjs/common": "^6.2.4",
"@nestjs/core": "^6.2.4",
"@nestjs/platform-express": "^6.2.4",
"@nestjs/swagger": "^3.0.2",
"@nestjs/testing": "^6.2.4",
"@nestjs/typeorm": "^6.1.2",
"@types/jest": "^24.0.13",
"@types/node": "^12.0.2",
"@types/supertest": "^2.0.7",
"class-transformer": "^0.2.3",
"class-validator": "^0.9.1",
"commitizen": "^3.1.1",
"coveralls": "^3.0.4",
"cz-conventional-changelog": "^2.1.0",
"husky": "^2.4.1",
"jest": "^24.8.0",
"lerna": "^3.14.1",
"nodemon": "^1.19.1",
"npm-check": "^5.9.0",
"nps": "^5.9.5",
"nps-utils": "^1.7.0",
"pg": "^7.11.0",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.0",
"redis": "^2.8.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^2.6.3",
"rxjs": "^6.5.2",
"supertest": "^4.0.2",
"swagger-ui-express": "^4.0.6",
"ts-jest": "^24.0.2",
"ts-node": "^8.2.0",
"tsconfig-paths": "^3.8.0",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"typeorm": "^0.2.17",
"typescript": "3.3.3",
"validate-commit-msg": "^2.14.0"
},
"devDependencies": {},
"author": {
"name": "Michael Yali",
"email": "mihon4ik@gmail.com"
}
}