forked from rewiko/crud
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
118 lines (118 loc) · 3.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
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": "@dataui/crud",
"version": "5.1.0",
"description": "Nest CRUD for RESTful APIs",
"license": "MIT",
"workspaces": [
"packages/*"
],
"private": true,
"scripts": {
"s": "npx nps",
"s:list": "yarn s --scripts",
"rebuild": "yarn clean && yarn build",
"build": "yarn s build",
"clean": "yarn s clean",
"test": "npx jest --runInBand -c=jest.config.js packages/ --verbose",
"test:one": "npx jest --runInBand -c=jest.config.js --verbose",
"test:coverage": "yarn test:all --coverage",
"test:coveralls": "yarn test:coverage --coverageReporters=text-lcov | coveralls",
"test:all": "yarn test:mysql && yarn test:postgres",
"test:postgres": "yarn db:prepare:typeorm && yarn test",
"test:mysql": "yarn db:prepare:typeorm:mysql && TYPEORM_CONNECTION=mysql yarn test",
"start:typeorm": "npx nodemon -w ./integration/crud-typeorm -e ts node_modules/ts-node/dist/bin.js integration/crud-typeorm/main.ts",
"db:cli:typeorm": "cd ./integration/crud-typeorm && npx ts-node -r tsconfig-paths/register ../../node_modules/typeorm/cli.js",
"db:sync:typeorm": "yarn db:cli:typeorm schema:sync",
"db:drop:typeorm": "yarn db:cli:typeorm schema:drop",
"db:seeds:typeorm": "yarn db:cli:typeorm migration:run",
"db:prepare:typeorm": "yarn db:drop:typeorm -d postgres.datasource && yarn db:sync:typeorm -d postgres.datasource && yarn db:seeds:typeorm -d postgres.datasource",
"db:prepare:typeorm:mysql": "yarn db:drop:typeorm -d mysql.datasource && yarn db:sync:typeorm -d mysql.datasource && yarn db:seeds:typeorm -d mysql.datasource",
"format": "npx pretty-quick --pattern \"packages/**/!(*.d).ts\"",
"lint": "npx tslint 'packages/**/*.ts'",
"cm": "npx git-cz",
"pub": "npx lerna publish --force-publish"
},
"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",
"commit-msg": "npx validate-commit-msg"
}
},
"peerDependencies": {},
"optionalDependencies": {},
"dependencies": {
"@nestjs/common": "8.2.4",
"@nestjs/core": "8.2.4",
"@nestjs/platform-express": "8.2.4",
"@nestjs/swagger": "5.1.5",
"@nestjs/testing": "8.2.4",
"@nestjs/typeorm": "8.1.3",
"@nuxtjs/opencollective": "0.3.2",
"@types/jest": "26.0.24",
"@types/node": "12.7.5",
"@types/qs": "6.5.3",
"@types/supertest": "2.0.12",
"class-transformer": "0.5.1",
"class-validator": "0.13.2",
"commitizen": "4.2.4",
"coveralls": "3.1.1",
"cz-conventional-changelog": "3.3.0",
"husky": "3.1.0",
"jest": "26.6.3",
"jest-extended": "0.11.5",
"lerna": "7.1.1",
"mysql": "2.18.1",
"nodemon": "1.19.4",
"npm-check": "5.9.2",
"nps": "5.10.0",
"nps-utils": "1.7.0",
"pg": "8.7.3",
"pluralize": "8.0.0",
"prettier": "2.8.8",
"pretty-quick": "3.1.3",
"qs": "6.8.0",
"redis": "3.1.2",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.0",
"rxjs": "7.5.5",
"supertest": "4.0.2",
"swagger-ui-express": "4.3.0",
"ts-jest": "26.5.6",
"ts-node": "9.1.1",
"tsconfig-extends": "1.0.1",
"tsconfig-paths": "3.9.0",
"tslint": "5.20.0",
"tslint-config-prettier": "1.18.0",
"typeorm": "0.3.6",
"typescript": "4.2.4",
"validate-commit-msg": "2.14.0"
},
"resolutions": {
"axios": "0.21.2",
"glob-parent": "5.1.2",
"hosted-git-info": "3.0.8",
"merge": "2.1.1",
"json-schema": "0.4.0",
"semver-regex": "3.1.3",
"ansi-regex": "5.0.1",
"trim-newlines": "3.0.1"
},
"devDependencies": {},
"author": {
"name": "Michael Yali",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/gid-oss/dataui-nestjs-crud"
}
}