Skip to content

Commit 235e320

Browse files
committed
use del-cli so pretest is cross-platform
1 parent c738c78 commit 235e320

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"node": ">=0.10.0"
3838
},
3939
"scripts": {
40-
"pretest": "rm -rf ./node_modules/.cache",
41-
"test": "xo && nyc --reporter=lcov tap --no-cov --timeout=150 test/*.js",
42-
"test-win": "tap --no-cov --timeout=150 test/*.js"
40+
"pretest": "de ./node_modules/.cache",
41+
"test": "xo && nyc --reporter=lcov ./node_modules/.bin/tap --no-cov --timeout=150 test/*.js",
42+
"test-win": "npm run pretest && tap --no-cov --timeout=150 test/*.js"
4343
},
4444
"files": [
4545
"index.js",
@@ -124,6 +124,7 @@
124124
},
125125
"devDependencies": {
126126
"coveralls": "^2.11.4",
127+
"del-cli": "^0.1.1",
127128
"hook-std": "^0.1.0",
128129
"nyc": "^5.0.1",
129130
"promise-delegates": "^0.1.0",

0 commit comments

Comments
 (0)