Skip to content

Commit

Permalink
Use rimraf for build to support windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCuthbert committed Apr 6, 2019
1 parent b8f12d6 commit 41e4034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"prepublish": "npm run build",
"precommit": "npm run test",
"build": "rm -rf dist && tsc",
"build": "rimraf dist && tsc",
"pretest": "npm run lint",
"test": "jest",
"lint": "tslint -c tslint.json 'src/**/*.ts'"
Expand All @@ -32,6 +32,7 @@
"@types/lodash": "4.14.123",
"jest": "24.5.0",
"mock-fs": "4.8.0",
"rimraf": "^2.6.3",
"ts-jest": "24.0.1",
"tslint": "5.14.0",
"typescript": "^3.4.1"
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Expand Up @@ -2974,7 +2974,7 @@ ret@~0.1.10:
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==

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

0 comments on commit 41e4034

Please sign in to comment.