Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit 08cbb3e

Browse files
author
Brandon Dail
committed
Add demo-prod npm script
1 parent 25c7d3b commit 08cbb3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: npm run demo
1+
web: npm run demo-prod

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"build-dist-min": "NODE_ENV=production webpack",
1515
"prepublish": "npm run test && npm run build && npm run dist",
1616
"clean-dist": "rimraf dist && mkdir dist",
17-
"demo": "webpack-dev-server --hot --inline --port 3000 --config demo/webpack.config.js --content-base demo"
17+
"demo": "webpack-dev-server --hot --inline --port 3000 --config demo/webpack.config.js --content-base demo",
18+
"demo:prod": "webpack-dev-server --hot --inline --port 80 --config demo/webpack.config.js --content-base demo"
1819
},
1920
"keywords": [
2021
"react",

0 commit comments

Comments
 (0)