Fix build step

This commit is contained in:
Michael Jackson 2016-05-16 16:02:55 -07:00
parent 66ef9a780c
commit 4a4f40dff2
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
stats.json
public/__assets__
lib

View File

@ -3,8 +3,11 @@
"author": "Michael Jackson",
"scripts": {
"start": "heroku local -f Procfile.local",
"build": "rimraf lib && babel ./modules -d lib",
"build": "npm run build-assets && npm run build-lib",
"build-assets": "NODE_ENV=production webpack -p --json > stats.json",
"build-lib": "rimraf lib && babel ./modules -d lib",
"heroku-postbuild": "npm run build"
},
"dependencies": {
"autoprefixer": "^6.3.6",