Fix build step
This commit is contained in:
parent
66ef9a780c
commit
4a4f40dff2
|
@ -0,0 +1,3 @@
|
||||||
|
stats.json
|
||||||
|
public/__assets__
|
||||||
|
lib
|
|
@ -3,8 +3,11 @@
|
||||||
"author": "Michael Jackson",
|
"author": "Michael Jackson",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "heroku local -f Procfile.local",
|
"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"
|
"heroku-postbuild": "npm run build"
|
||||||
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"autoprefixer": "^6.3.6",
|
"autoprefixer": "^6.3.6",
|
||||||
|
|
Loading…
Reference in New Issue