|
10 | 10 | "build": "nest build", |
11 | 11 | "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", |
12 | 12 | "start": "nest start", |
13 | | - "start:dev": "nest start --watch", |
14 | | - "start:debug": "nest start --debug --watch", |
15 | | - "start:prod": "node dist/main", |
| 13 | + "start:dev": "STAGE=dev nest start --watch", |
| 14 | + "start:debug": "STAGE=dev nest start --debug --watch", |
| 15 | + "start:prod": "STAGE=prod node dist/main", |
16 | 16 | "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
17 | | - "test": "jest", |
| 17 | + "test": "STAGE=dev jest", |
18 | 18 | "test:watch": "jest --watch", |
19 | 19 | "test:cov": "jest --coverage", |
20 | 20 | "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
21 | 21 | "test:e2e": "jest --config ./test/jest-e2e.json" |
22 | 22 | }, |
23 | 23 | "dependencies": { |
24 | 24 | "@nestjs/common": "^8.0.0", |
| 25 | + "@nestjs/config": "^1.0.3", |
25 | 26 | "@nestjs/core": "^8.0.0", |
26 | 27 | "@nestjs/jwt": "^8.0.0", |
27 | 28 | "@nestjs/passport": "^8.0.1", |
|
31 | 32 | "bcrypt": "^5.0.1", |
32 | 33 | "class-transformer": "^0.4.0", |
33 | 34 | "class-validator": "^0.13.1", |
| 35 | + "joi": "^17.4.2", |
34 | 36 | "passport": "^0.5.0", |
35 | 37 | "passport-jwt": "^4.0.0", |
36 | 38 | "pg": "^8.7.1", |
|
0 commit comments