diff --git a/package.json b/package.json index b7a306f556da..8b895f66b513 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,7 @@ "lint-staged": "7.3.0", "lodash.isplainobject": "4.0.6", "prettier": "^1.14.3", + "rimraf": "^2.6.3", "ts-jest": "^23.10.4", "typescript": "~3.2.1" } diff --git a/packages/eslint-plugin-tslint/package.json b/packages/eslint-plugin-tslint/package.json index a97a3995861d..26ba3f67012c 100644 --- a/packages/eslint-plugin-tslint/package.json +++ b/packages/eslint-plugin-tslint/package.json @@ -23,7 +23,7 @@ "test": "jest --coverage", "prebuild": "npm run clean", "build": "tsc", - "clean": "rm -rf dist/" + "clean": "rimraf dist/" }, "dependencies": { "lodash.memoize": "^4.1.2" diff --git a/packages/typescript-eslint-parser/package.json b/packages/typescript-eslint-parser/package.json index b8adaba02f3a..48e6f44ed5ff 100644 --- a/packages/typescript-eslint-parser/package.json +++ b/packages/typescript-eslint-parser/package.json @@ -28,7 +28,7 @@ "scripts": { "prebuild": "npm run clean", "build": "tsc", - "clean": "rm -rf dist/", + "clean": "rimraf dist/", "test": "jest --coverage", "integration-tests": "docker-compose -f tests/integration/docker-compose.yml up", "kill-integration-test-containers": "docker-compose -f tests/integration/docker-compose.yml down -v --rmi local" diff --git a/packages/typescript-estree/package.json b/packages/typescript-estree/package.json index 4f4df3bce0f8..2c0f3f5173e9 100644 --- a/packages/typescript-estree/package.json +++ b/packages/typescript-estree/package.json @@ -28,7 +28,7 @@ "scripts": { "prebuild": "npm run clean", "build": "tsc", - "clean": "rm -rf dist/", + "clean": "rimraf dist/", "test": "jest --coverage", "unit-tests": "jest \"./tests/lib/.*\"", "ast-alignment-tests": "jest spec.ts" diff --git a/yarn.lock b/yarn.lock index b2a4a3c2a9fa..953705f7b587 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6061,7 +6061,7 @@ right-pad@^1.0.1: resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" integrity sha1-jKCMLLtbVedNr6lr9/0aJ9VoyNA= -rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@~2.6.2: +rimraf@2, rimraf@^2.5.2, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3, rimraf@~2.6.2: version "2.6.3" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==