提交 82e20eeb authored 作者: Alexey Petushkov's avatar Alexey Petushkov

Fixed build for Windows: rm command is not supported. use rimraf package

上级 fb99f1fa
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"url": "https://github.com/kyknow/nestjs-redis" "url": "https://github.com/kyknow/nestjs-redis"
}, },
"scripts": { "scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json", "build": "rimraf dist && tsc -p tsconfig.json",
"precommit": "lint-staged", "precommit": "lint-staged",
"prepublish:npm": "yarn run build", "prepublish:npm": "yarn run build",
"publish:npm": "yarn publish --access public", "publish:npm": "yarn publish --access public",
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
"@types/node": "^10.7.1", "@types/node": "^10.7.1",
"cz-conventional-changelog": "^2.1.0", "cz-conventional-changelog": "^2.1.0",
"jest": "^23.6.0", "jest": "^23.6.0",
"rimraf": "^2.6.3",
"ts-jest": "^23.10.5", "ts-jest": "^23.10.5",
"typescript": "^2.4.2" "typescript": "^2.4.2"
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论