forked from nestjsx/crud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.17 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
{
"name": "@nestjsx/crud",
"version": "3.2.0",
"description": "Nest CRUD for RESTful APIs",
"scripts": {
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"check": "npx npm-check",
"test:e2e": "jest --verbose --coverage",
"pretest:e2e": "npm run test:e2e:typeorm:prepare",
"posttest:e2e": "npm run test:e2e:typeorm:clean",
"test:e2e:typeorm:prepare": "cd integration/typeorm && npm run db:sync -- -f=e2e/orm && npm run db:flush -- -f=e2e/orm && npm run db:seeds -- -f=e2e/orm",
"test:e2e:typeorm:clean": "cd integration/typeorm && npm run db:flush -- -f=e2e/orm",
"test:e2e:typeorm:install": "cd integration/typeorm && npm install",
"coverage": "jest --verbose --coverage --coverageReporters=text-lcov | coveralls",
"clean": "cd dist && rm -rf `ls | grep -v \"LICENSE\\|package.json\\|README.md\"`",
"clean:typeorm": "cd integration/typeorm/node_modules/@nestjsx/crud && rm -rf *",
"update:typeorm": "cp -a ./dist/. ./integration/typeorm/node_modules/@nestjsx/crud",
"reset:typeorm": "cd integration/typeorm && npm i @nestjsx/crud@next",
"build": "tsc -b tsconfig.build.json",
"prebuild": "npm run clean",
"postbuild": "npm run clean:typeorm && npm run update:typeorm"
},
"peerDependencies": {
"@nestjs/common": "^6",
"@nestjs/core": "^6",
"@nestjs/typeorm": "^6"
},
"dependencies": {
"@nestjs/common": "^6.0.2",
"@nestjs/core": "^6.0.2",
"@nestjs/platform-express": "^6.0.2",
"@nestjs/testing": "^6.0.2",
"@nestjs/typeorm": "^6.0.0",
"class-transformer": "^0.2.0",
"class-validator": "^0.9.1",
"js-yaml": "^3.13.0",
"pg": "^7.9.0",
"redis": "^2.8.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.4.0",
"tsconfig-paths": "^3.8.0",
"typeorm": "^0.2.15"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/jest": "^24.0.11",
"@types/node": "^11.11.4",
"@types/supertest": "^2.0.7",
"chai": "^4.2.0",
"coveralls": "^3.0.3",
"jest": "^24.5.0",
"nodemon": "^1.18.10",
"supertest": "^4.0.2",
"ts-jest": "^24.0.0",
"ts-node": "^8.0.3",
"tslint": "^5.14.0",
"typescript": "^3.3.4000"
}
}