Skip to content

Commit 7bf9b57

Browse files
committed
Add watch command for es6 babel compilation
1 parent cc6ac20 commit 7bf9b57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"lint": "jshint *.js lib/*.js test/src/*.js test/src/*/*.js",
88
"es6": "babel test/src --out-dir test/specs",
9+
"es6-watch": "babel test/src --out-dir test/specs --watch",
910
"unit": "npm run es6 && mocha --recursive test/specs",
1011
"cover": "npm run lint && istanbul cover _mocha --report lcovonly -- --timeout 10000 --recursive test/specs && istanbul-coveralls",
1112
"test": "npm run lint && npm run unit"

0 commit comments

Comments
 (0)