Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit c47946a

Browse files
authored
Merge pull request #33 from feathersjs/windows-support
Swapping rm to rifraf and using relative path to _mocha for windows support
2 parents f35701f + 47a6a75 commit c47946a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
"release:patch": "npm version patch && npm publish",
3232
"release:minor": "npm version minor && npm publish",
3333
"release:major": "npm version major && npm publish",
34-
"compile": "rm -rf lib/ && babel -d lib/ src/",
34+
"compile": "rimraf -rf lib/ && babel -d lib/ src/",
3535
"watch": "babel --watch -d lib/ src/",
3636
"lint": "eslint-if-supported semistandard --fix",
3737
"mocha": "mocha --opts mocha.opts",
38-
"coverage": "istanbul cover _mocha -- --opts mocha.opts",
38+
"coverage": "istanbul cover node_modules/mocha/bin/_mocha -- --opts mocha.opts",
3939
"test": "npm run compile && npm run lint && npm run coverage"
4040
},
4141
"semistandard": {
@@ -73,6 +73,7 @@
7373
"istanbul": "^1.1.0-alpha.1",
7474
"lodash": "^4.0.1",
7575
"mocha": "^3.0.0",
76+
"rimraf": "^2.5.4",
7677
"semistandard": "^9.1.0",
7778
"ws": "^1.0.0"
7879
}

0 commit comments

Comments
 (0)