Skip to content

Commit

Permalink
feat(best-frontend): Allow heroku deployment (#70)
Browse files Browse the repository at this point in the history
* Scripts to allow heroku start
  • Loading branch information
diervo authored Feb 6, 2018
1 parent 38d5092 commit a3d5ce1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: yarn start
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"watch": "yarn build && node ./scripts/watch.js",
"test": "jest --config jest.config.json",
"perf": "best --externalStorage=@best/store-aws",
"start": "lerna exec --scope @best/frontend \"yarn start\"",
"web:watch": "lerna exec --scope @best/frontend 'yarn watch'",
"web:watch:s3": "STORE_PLUGIN=@best/store-aws lerna exec --scope @best/frontend 'yarn watch'",
"release": "yarn prepare && lerna publish --exact --force-publish=* --registry='https://npm.lwcjs.org' && yarn changelog",
Expand Down
4 changes: 2 additions & 2 deletions packages/best-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"flow": "flow --show-all-errors",
"lint": "yarn run eslint && yarn run flow",
"serve": "node server/index.js",
"start": "yarn run build && node server/index.js",
"start": "yarn build:prod && node server/index.js",
"serve:watch": "nodemon --watch public --watch server server/index.js",
"build": "cross-env NODE_ENV=development rollup -c",
"build:prod": "cross-env NODE_ENV=production rollup -c",
Expand Down Expand Up @@ -51,6 +51,6 @@
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1",
"rollup-watch": "^4.3.1",
"uglify-es": "^3.3.7"
"uglify-es": "3.3.7"
}
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7114,9 +7114,9 @@ typedarray@^0.0.6:
version "0.0.6"
resolved "http://npm.lwcjs.org/typedarray/-/typedarray-0.0.6/867ac74e3864187b1d3d47d996a78ec5c8830777.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"

uglify-es@^3.3.7:
version "3.3.9"
resolved "http://npm.lwcjs.org/uglify-es/-/uglify-es-3.3.9/0c1c4f0700bed8dbc124cdb304d2592ca203e677.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677"
[email protected]:
version "3.3.7"
resolved "http://npm.lwcjs.org/uglify-es/-/uglify-es-3.3.7/d1249af668666aba7cb1163e277455be9eb393cf.tgz#d1249af668666aba7cb1163e277455be9eb393cf"
dependencies:
commander "~2.13.0"
source-map "~0.6.1"
Expand Down

0 comments on commit a3d5ce1

Please sign in to comment.