-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3 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
{
"name": "nestjs-boilerplate",
"version": "0.0.1",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:local": "npm run db:development && cp config/.development.env .env && NODE_ENV=development npm run typeorm:migrate && npm run start",
"start:dev": "tsc-watch -p tsconfig.build.json --onSuccess \"node dist/src/main.js\"",
"start:debug": "tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk dist/src/main.js\"",
"start:prod": "node dist/src/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"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",
"db:stop": "docker rm -f postgres-nestjs || true",
"db:integration": "npm run db:stop && docker-compose -f docker/integration.yml up wait-postgres",
"db:development": "npm run db:stop && docker-compose -f docker/development.yml up -d",
"test:integration": "npm run db:integration && cp config/.integration.env .env && NODE_ENV=integration npm run typeorm:migrate && npm run test:e2e",
"typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js --config database/db-config.ts",
"typeorm:migrate": "npm run typeorm migration:run"
},
"dependencies": {
"@nestjs/common": "^7.1.0",
"@nestjs/config": "^0.5.0",
"@nestjs/core": "^7.1.0",
"@nestjs/graphql": "^7.3.11",
"@nestjs/jwt": "^7.0.0",
"@nestjs/passport": "^7.0.0",
"@nestjs/platform-express": "^7.1.0",
"@nestjs/schedule": "^0.4.0",
"@nestjs/typeorm": "^7.1.0",
"apollo-server-express": "^2.13.1",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.1",
"cookie-parser": "^1.4.4",
"graphql": "^14.5.4",
"graphql-tools": "^4.0.5",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"pg": "^8.2.1",
"prisma-client-lib": "^1.34.8",
"reflect-metadata": "^0.1.12",
"rimraf": "^2.6.2",
"rxjs": "^6.3.3",
"typeorm": "^0.2.25"
},
"devDependencies": {
"@nestjs/testing": "^7.0.0",
"@types/express": "4.17.1",
"@types/jest": "24.0.11",
"@types/node": "11.13.4",
"@types/passport-jwt": "^3.0.1",
"@types/supertest": "2.0.7",
"jest": "24.7.1",
"prettier": "1.17.0",
"supertest": "4.0.2",
"ts-jest": "24.0.2",
"ts-node": "8.1.0",
"tsc-watch": "4.2.8",
"tsconfig-paths": "3.9.0",
"tslint": "5.16.0",
"typescript": "3.9.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}