Skip to content

Commit 41e4034

Browse files
committed
Use rimraf for build to support windows builds
1 parent b8f12d6 commit 41e4034

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"prepublish": "npm run build",
1313
"precommit": "npm run test",
14-
"build": "rm -rf dist && tsc",
14+
"build": "rimraf dist && tsc",
1515
"pretest": "npm run lint",
1616
"test": "jest",
1717
"lint": "tslint -c tslint.json 'src/**/*.ts'"
@@ -32,6 +32,7 @@
3232
"@types/lodash": "4.14.123",
3333
"jest": "24.5.0",
3434
"mock-fs": "4.8.0",
35+
"rimraf": "^2.6.3",
3536
"ts-jest": "24.0.1",
3637
"tslint": "5.14.0",
3738
"typescript": "^3.4.1"

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -2974,7 +2974,7 @@ ret@~0.1.10:
29742974
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
29752975
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==
29762976

2977-
rimraf@^2.5.4, rimraf@^2.6.2:
2977+
rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3:
29782978
version "2.6.3"
29792979
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
29802980
integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==

0 commit comments

Comments
 (0)