Skip to content

fix heroku memory exceed isssue #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
"main": "index.js",
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon server",
"start": "node --max-old-space-size=512 server",
"build": "node --max-old-space-size=512 ./node_modules/webpack/bin/webpack --bail --progress --build --tc",
"start": "node --max-old-space-size=384 server",
"build": "node --max-old-space-size=384 ./node_modules/webpack/bin/webpack --bail --progress --build --tc",
"lint": "eslint --ext jsx --ext js .",
"lint:fix": "npm run lint -- --fix",
"test": "mocha-webpack --require setup-test.js --webpack-config webpack.config-test.js \"src/**/*.spec.(jsx|js)\"",
"postinstall": "npm run build",
"heroku:prod:init": "git remote remove production && heroku create --remote production && heroku config:set NODE_ENV=production --remote production",
"heroku:dev:init": "git remote remove dev && heroku create --remote dev && heroku config:set NODE_ENV=development NPM_CONFIG_PRODUCTION=false --remote dev",
"heroku:staging:init": "git remote remove staging && heroku create --remote staging && heroku config:set NODE_ENV=staging --remote staging",
"heroku:test:init": "git remote remove test && heroku create --remote test && heroku config:set NODE_ENV=test --remote test",
"heroku:dev:init": "git remote remove dev && heroku create --remote dev && heroku config:set NODE_ENV=production --remote dev",
"heroku:staging:init": "git remote remove staging && heroku create --remote staging && heroku config:set NODE_ENV=production --remote staging",
"heroku:test:init": "git remote remove test && heroku create --remote test && heroku config:set NODE_ENV=production --remote test",
"heroku:prod:deploy": "git push production master",
"heroku:dev:deploy": "git push dev master",
"heroku:staging:deploy": "git push staging master",
Expand Down