feature: add "babel:watch" to trigger automatic rebuilds.

This commit is contained in:
Andre Medeiros 2018-11-30 14:01:26 -05:00
parent c2c8c811ab
commit 3914e3082d
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,9 @@
"babel:browser": "cross-env BABEL_ENV=browser babel --out-dir dist/browser src",
"babel:node": "cross-env BABEL_ENV=node babel --out-dir dist src",
"babel:node:async": "cross-env BABEL_ENV=node:async babel --out-dir dist src/node",
"babel:watch": "npm-run-all -p babel:watch:*",
"babel:watch:browser": "npm run babel:browser -- --verbose --watch",
"babel:watch:node": "npm run babel:node -- --verbose --watch",
"build": "npm run clean && npm run babel && npm run webpack",
"clean": "rimraf dist embark.min.js embarkjs-*.tgz package",
"http-server": "http-server",
@ -60,6 +63,7 @@
"ajv": "6.5.2",
"cross-env": "5.2.0",
"http-server": "0.11.1",
"npm-run-all": "4.1.5",
"rimraf": "2.6.2",
"webpack": "4.16.1",
"webpack-cli": "3.0.8"