Change rm -rf on prestart:prod to rimraf

Fixes prod build on Windows
This commit is contained in:
Yury Kozhenov 2018-05-12 01:06:15 +03:00
parent 711433330e
commit 3f7fec8b0b
1 changed files with 2 additions and 1 deletions

View File

@ -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",