Add npm watch command.

This one uses uncut output for tighter build loop.
master
Alexander Bondarenko 2016-01-20 20:24:48 +03:00
parent 7af4c7091c
commit 9795baaf0c
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
"private": true,
"scripts": {
"postinstall": "pulp dep install",
"build": "pulp browserify --optimise --to dist/app.js"
"build": "pulp browserify --optimise --to dist/app.js",
"watch": "pulp -w browserify --to dist/app.js"
},
"dependencies": {
"virtual-dom": "^2.1.1"