We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4bd15 commit 2d4c912Copy full SHA for 2d4c912
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
@@ -55,6 +55,7 @@
55
"lint": "eslint .",
56
"unit": "mocha",
57
"test": "npm run lint && npm run unit",
58
+ "prebuild": "bin/sync-vendor-libs.sh",
59
"build": "cd js && uglifyjs tmpl.js -c -m -o tmpl.min.js --source-map url=tmpl.min.js.map",
60
"preversion": "npm test",
61
"version": "npm run build && git add -A js",
0 commit comments