We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9628d50 commit d2115f5Copy full SHA for d2115f5
bin/sync-vendor-libs.sh
@@ -0,0 +1,5 @@
1
+#!/bin/sh
2
+cd "$(dirname "$0")/.."
3
+cp node_modules/chai/chai.js test/vendor/
4
+cp node_modules/mocha/mocha.js test/vendor/
5
+cp node_modules/mocha/mocha.css test/vendor/
package.json
@@ -60,6 +60,7 @@
60
"lint": "eslint .",
61
"unit": "mocha",
62
"test": "npm run lint && npm run unit",
63
+ "prebuild": "bin/sync-vendor-libs.sh",
64
"build": "cd js && uglifyjs md5.js -c -m -o md5.min.js --source-map url=md5.min.js.map",
65
"preversion": "npm test",
66
"version": "npm run build && git add -A js",
0 commit comments