From 92a85bee3371702dd1a053dcc2f7bd8922802795 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 28 Jul 2017 21:46:41 +0200 Subject: Add postinstall to package.json for heroku --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dc18e3d..0c360b5 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "setup": "npm install && bower install --allow-root", "build-dev": "browserify -d -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js > ./public/javascripts/bundle.js", "watch": "watchify -v -d -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js -o ./public/javascripts/bundle.js", - "build": "browserify -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js | uglifyjs -cm > ./public/javascripts/bundle.js" + "build": "browserify -t [ babelify --presets [ es2015 ] ] -e ./public/javascripts/main.js | uglifyjs -cm > ./public/javascripts/bundle.js", + "postinstall": "bower install --allow-root" }, "dependencies": { "bluebird": "^3.4.6", -- cgit v1.1