Move rimraf into prestart
This commit is contained in:
parent
6db8e518f4
commit
911edff308
|
|
@ -7,8 +7,9 @@
|
|||
"build": "tsc -p tsconfig.build.json",
|
||||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"start": "ts-node -r tsconfig-paths/register src/main.ts",
|
||||
"start:dev": "rimraf dist && concurrently --names \"NODEMON,TSC\" --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
|
||||
"start:dev": "concurrently --names \"NODEMON,TSC\" --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
|
||||
"start:debug": "nodemon --config nodemon-debug.json",
|
||||
"prestart:dev": "rimraf dist",
|
||||
"prestart:prod": "rimraf dist && npm run build",
|
||||
"start:prod": "node dist/main.js",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json",
|
||||
|
|
|
|||
Loading…
Reference in New Issue