Change rm -rf on prestart:prod to rimraf
Fixes prod build on Windows
This commit is contained in:
parent
711433330e
commit
3f7fec8b0b
|
|
@ -7,7 +7,7 @@
|
|||
"format": "prettier --write \"**/*.ts\"",
|
||||
"start": "ts-node -r tsconfig-paths/register src/main.ts",
|
||||
"start:dev": "nodemon",
|
||||
"prestart:prod": "rm -rf dist && tsc",
|
||||
"prestart:prod": "rimraf dist && tsc",
|
||||
"start:prod": "node dist/main.js",
|
||||
"test": "jest",
|
||||
"test:cov": "jest --coverage",
|
||||
|
|
@ -31,6 +31,7 @@
|
|||
"jest": "^21.2.1",
|
||||
"nodemon": "^1.14.1",
|
||||
"prettier": "^1.11.1",
|
||||
"rimraf": "^2.6.2",
|
||||
"supertest": "^3.0.0",
|
||||
"ts-jest": "^21.2.4",
|
||||
"ts-node": "^4.1.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue