fix heroku deploy

This commit is contained in:
2018-06-03 14:26:42 +03:00
parent 8802fd7f5c
commit d7656f9715
2 changed files with 10 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
"start": "node ./app.js", "start": "node ./app.js",
"debug": "cross-env NODE_ENV=dev npx nodemon --inspect ./app.js", "debug": "cross-env NODE_ENV=dev npx nodemon --inspect ./app.js",
"test": "cross-env NODE_ENV=test jest", "test": "cross-env NODE_ENV=test jest",
"heroku-postbuild": "cd react && npm i && npm run build" "postinstall": "cd react && npm install && npm run build"
}, },
"author": "", "author": "",
"dependencies": { "dependencies": {

View File

@@ -4020,7 +4020,8 @@
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true "bundled": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@@ -4385,7 +4386,8 @@
}, },
"safe-buffer": { "safe-buffer": {
"version": "5.1.1", "version": "5.1.1",
"bundled": true "bundled": true,
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@@ -4433,6 +4435,7 @@
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
@@ -4471,11 +4474,13 @@
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true "bundled": true,
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.2", "version": "3.0.2",
"bundled": true "bundled": true,
"optional": true
} }
} }
}, },