summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-10-21 20:25:09 +0300
committerYuval Adam <_@yuv.al>2017-10-21 20:25:09 +0300
commit7fca3ed3da102582d0553ed455feaf3ff9ac8389 (patch)
treea27bdf8583b1cf05b63e41d972138638086f0b0b
parentee9b39d590f06381a7b2a4098b6ab13f04dd9ab9 (diff)
Use heroku-postbuild step
-rw-r--r--.gitignore2
-rw-r--r--package.json3
2 files changed, 2 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 27d93e4..9f0f7a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
node_modules/
dump.rdb
-static/js/build.js \ No newline at end of file
+static/js/build.js* \ No newline at end of file
diff --git a/package.json b/package.json
index ae6821c..c0950f5 100644
--- a/package.json
+++ b/package.json
@@ -10,8 +10,7 @@
"node": "8.7.0"
},
"scripts": {
- "build": "NODE_ENV=production webpack --config ./webpack.config.js --progress --colors",
- "start": "node ./server.js"
+ "heroku-postbuild": "NODE_ENV=production webpack --config ./webpack.config.js --progress --colors"
},
"dependencies": {
"aws-sdk": "^2.138.0",