Skip to content

Commit

Permalink
use rimraf so pretest is cross-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestalmage committed Dec 22, 2015
1 parent c738c78 commit 21a98a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"node": ">=0.10.0"
},
"scripts": {
"pretest": "rm -rf ./node_modules/.cache",
"test": "xo && nyc --reporter=lcov tap --no-cov --timeout=150 test/*.js",
"test-win": "tap --no-cov --timeout=150 test/*.js"
"pretest": "rimraf ./node_modules/.cache",
"test": "xo && nyc --reporter=lcov ./node_modules/.bin/tap --no-cov --timeout=150 test/*.js",
"test-win": "npm run pretest && tap --no-cov --timeout=150 test/*.js"
},
"files": [
"index.js",
Expand Down Expand Up @@ -127,6 +127,7 @@
"hook-std": "^0.1.0",
"nyc": "^5.0.1",
"promise-delegates": "^0.1.0",
"rimraf": "^2.4.5",
"signal-exit": "^2.1.2",
"sinon": "^1.17.2",
"source-map-fixtures": "^0.3.0",
Expand Down

0 comments on commit 21a98a4

Please sign in to comment.