Skip to content

Commit 79134f1

Browse files
committed
Add heroku-postbuild script and split dependencies and devDependencies
1 parent 98da97b commit 79134f1

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

package.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "npm run build:frontend && npm run build:backend",
99
"build:frontend": "NODE_ENV=production node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.frontend.config.js",
1010
"build:backend": "NODE_ENV=production node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.backend.config.js",
11-
"lint": "./node_modules/.bin/eslint --fix src"
11+
"lint": "./node_modules/.bin/eslint --fix src",
12+
"heroku-postbuild": "npm run build"
1213
},
1314
"repository": {
1415
"type": "git",
@@ -24,14 +25,24 @@
2425
"url": "https://jasonpark.me/"
2526
},
2627
"license": "MIT",
28+
"dependencies": {
29+
"express": "^4.15.4",
30+
"morgan": "^1.9.1",
31+
"cookie-parser": "^1.4.3",
32+
"body-parser": "^1.18.2",
33+
"bluebird": "latest",
34+
"axios": "latest",
35+
"fs-extra": "^6.0.1",
36+
"express-github-webhook": "^1.0.6",
37+
"uuid": "^3.2.1"
38+
},
2739
"devDependencies": {
2840
"@fortawesome/fontawesome": "^1.1.5",
2941
"@fortawesome/fontawesome-free-brands": "^5.0.9",
3042
"@fortawesome/fontawesome-free-solid": "^5.0.9",
3143
"@fortawesome/fontawesome-svg-core": "^1.2.0",
3244
"@fortawesome/react-fontawesome": "0.1.0",
3345
"autoprefixer": "latest",
34-
"axios": "latest",
3546
"axios-progress-bar": "^1.1.8",
3647
"babel-core": "^6.18.0",
3748
"babel-loader": "^7.1.2",
@@ -42,14 +53,11 @@
4253
"babel-preset-react": "^6.24.1",
4354
"babel-preset-react-hmre": "^1.1.1",
4455
"babel-preset-stage-3": "^6.24.1",
45-
"bluebird": "latest",
46-
"body-parser": "^1.18.2",
4756
"brace": "latest",
4857
"chart.js": "^2.7.2",
4958
"clean-webpack-plugin": "^0.1.16",
5059
"compression": "latest",
5160
"connect-history-api-fallback": "^1.3.0",
52-
"cookie-parser": "^1.4.3",
5361
"copy-webpack-plugin": "^4.0.1",
5462
"css-hot-loader": "^1.3.9",
5563
"css-loader": "^1.0.0",
@@ -58,15 +66,11 @@
5866
"eslint-plugin-import": "^2.11.0",
5967
"eslint-plugin-jsx-a11y": "^6.0.3",
6068
"eslint-plugin-react": "^7.7.0",
61-
"express": "^4.15.4",
62-
"express-github-webhook": "^1.0.6",
63-
"fs-extra": "^6.0.1",
6469
"html-webpack-plugin": "^3.2.0",
6570
"http-proxy-middleware": "^0.18.0",
6671
"imagemin-webpack-plugin": "^2.3.0",
6772
"js-cookie": "^2.2.0",
6873
"mini-css-extract-plugin": "^0.4.0",
69-
"morgan": "^1.9.1",
7074
"node-sass": "^4.5.3",
7175
"postcss-flexboxfixer": "0.0.5",
7276
"postcss-loader": "^2.0.6",
@@ -91,7 +95,6 @@
9195
"screenfull": "^3.3.2",
9296
"style-loader": "^0.21.0",
9397
"uglifyjs-webpack-plugin": "^1.2.4",
94-
"uuid": "^3.2.1",
9598
"webpack": "^4.5.0",
9699
"webpack-bundle-analyzer": "^2.11.1",
97100
"webpack-cli": "^3.0.8",

0 commit comments

Comments
 (0)