Skip to content

Commit 99782ae

Browse files
committed
fix heroku memory exceed isssue
1 parent 046ed5a commit 99782ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
"main": "index.js",
66
"scripts": {
77
"dev": "cross-env NODE_ENV=development nodemon server",
8-
"start": "node --max-old-space-size=512 server",
9-
"build": "node --max-old-space-size=512 ./node_modules/webpack/bin/webpack --bail --progress --build --tc",
8+
"start": "node --max-old-space-size=384 server",
9+
"build": "node --max-old-space-size=384 ./node_modules/webpack/bin/webpack --bail --progress --build --tc",
1010
"lint": "eslint --ext jsx --ext js .",
1111
"lint:fix": "npm run lint -- --fix",
1212
"test": "mocha-webpack --require setup-test.js --webpack-config webpack.config-test.js \"src/**/*.spec.(jsx|js)\"",
1313
"postinstall": "npm run build",
1414
"heroku:prod:init": "git remote remove production && heroku create --remote production && heroku config:set NODE_ENV=production --remote production",
15-
"heroku:dev:init": "git remote remove dev && heroku create --remote dev && heroku config:set NODE_ENV=development NPM_CONFIG_PRODUCTION=false --remote dev",
16-
"heroku:staging:init": "git remote remove staging && heroku create --remote staging && heroku config:set NODE_ENV=staging --remote staging",
17-
"heroku:test:init": "git remote remove test && heroku create --remote test && heroku config:set NODE_ENV=test --remote test",
15+
"heroku:dev:init": "git remote remove dev && heroku create --remote dev && heroku config:set NODE_ENV=production --remote dev",
16+
"heroku:staging:init": "git remote remove staging && heroku create --remote staging && heroku config:set NODE_ENV=production --remote staging",
17+
"heroku:test:init": "git remote remove test && heroku create --remote test && heroku config:set NODE_ENV=production --remote test",
1818
"heroku:prod:deploy": "git push production master",
1919
"heroku:dev:deploy": "git push dev master",
2020
"heroku:staging:deploy": "git push staging master",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy