feat() use nest cli scripts
This commit is contained in:
parent
b43b8c6d22
commit
713503855c
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
|
|
@ -5,12 +5,13 @@
|
|||
"description": "Nest TypeScript starter repository",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "rimraf dist && tsc -p tsconfig.build.json",
|
||||
"prebuild": "rimraf dist",
|
||||
"build": "nest build",
|
||||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"start": "ts-node -r tsconfig-paths/register src/main.ts",
|
||||
"start:dev": "tsc-watch -p tsconfig.build.json --onSuccess \"node dist/main.js\"",
|
||||
"start:debug": "tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk dist/main.js\"",
|
||||
"start:prod": "node dist/main.js",
|
||||
"start": "nest start",
|
||||
"start:dev": "nest start --watch",
|
||||
"start:debug": "nest start --debug --watch",
|
||||
"start:prod": "node dist/main",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
|
|
@ -29,6 +30,8 @@
|
|||
"rxjs": "6.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nestjs/cli": "6.8.1",
|
||||
"@nestjs/schematics": "6.6.6",
|
||||
"@nestjs/testing": "6.5.3",
|
||||
"@types/express": "4.17.1",
|
||||
"@types/jest": "24.0.17",
|
||||
|
|
@ -38,6 +41,7 @@
|
|||
"prettier": "1.18.2",
|
||||
"supertest": "4.0.2",
|
||||
"ts-jest": "24.0.2",
|
||||
"ts-loader": "6.1.1",
|
||||
"ts-node": "8.3.0",
|
||||
"tsc-watch": "2.4.0",
|
||||
"tsconfig-paths": "3.8.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue