aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-09 13:56:18 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-09 13:56:18 +0100
commitc1a50798fbf547acd8466d02ce97811106cc622a (patch)
tree612abef549755904d27ed50043941ada054e4e06 /package.json
parentbd86bfa5de79b0d098a5ea7540b0717f195825ff (diff)
add watch build method
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 3bcd7ea..4e98e6e 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"start": "node ./bin/www",
"setup": "npm install && bower install",
"build-dev": "browserify -d -t [ babelify --presets [ es2016 ] ] -e ./public/javascripts/main.js > ./public/javascripts/bundle.js",
+ "watch": "watchify -v -d -t [ babelify --presets [ es2016 ] ] -e ./public/javascripts/main.js -o ./public/javascripts/bundle.js",
"build": "browserify -t [ babelify --presets [ es2016 ] ] -e ./public/javascripts/main.js | uglifyjs -cm > ./public/javascripts/bundle.js"
},
"dependencies": {
@@ -33,7 +34,8 @@
"babelify": "^7.3.0",
"bower": "^1.7.9",
"browserify": "^13.1.0",
- "gulp": "^3.9.1"
+ "gulp": "^3.9.1",
+ "watchify": "^3.7.0"
},
"author": "Noah Loomans <noahloomans@gmail.com>",
"license": "MIT",