aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-06 15:25:53 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-06 15:25:53 +0100
commit863d43f5038cd3b660c2f5160cd56124fa09427b (patch)
tree7f2202a03e976eb809417ecb125fa26d1c91f2fe /package.json
parent0cb55c1877c027bc6197a02f4758820cae36cae0 (diff)
improved build system
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 4 insertions, 9 deletions
diff --git a/package.json b/package.json
index c831f7c..2fa3650 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,9 @@
"private": true,
"scripts": {
"start": "node ./bin/www",
- "setup": "npm install && bower install"
+ "setup": "npm install && bower install",
+ "build-dev": "browserify -d -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js > ./public/javascripts/bundle.js",
+ "build": "browserify -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/bundle.js | uglifyjs > ./public/javascripts/bundle.js"
},
"dependencies": {
"bluebird": "^3.4.6",
@@ -31,14 +33,7 @@
"babelify": "^7.3.0",
"bower": "^1.7.9",
"browserify": "^13.1.0",
- "gulp": "^3.9.1",
- "gulp-babel": "^6.1.2",
- "gulp-browserify": "^0.5.1",
- "vinyl-source-stream": "^1.1.0"
- },
- "engine": {
- "node": "*",
- "npm": "*"
+ "gulp": "^3.9.1"
},
"author": "Noah Loomans <noahloomans@gmail.com>",
"license": "MIT",