Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

pfix "prepublishOnly" potential portability problem

Christopher Hiller171b9f92cdb8
diff --git a/package.json b/package.json
index 9a65839a..9244bbff 100644
--- a/package.json
+++ b/package.json
@@ -302,7 +302,7 @@
"lint": "eslint . bin/*",
"test": "make test && make clean",
"preversion": "npm test",
- "prepublishOnly": "make test && rm mocha.js && make mocha.js",
+ "prepublishOnly": "rimraf mocha.js && make mocha.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"dependencies": {