提交 79134f1c 编写于 作者: J Jason Park

Add heroku-postbuild script and split dependencies and devDependencies

上级 98da97be
......@@ -8,7 +8,8 @@
"build": "npm run build:frontend && npm run build:backend",
"build:frontend": "NODE_ENV=production node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.frontend.config.js",
"build:backend": "NODE_ENV=production node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.backend.config.js",
"lint": "./node_modules/.bin/eslint --fix src"
"lint": "./node_modules/.bin/eslint --fix src",
"heroku-postbuild": "npm run build"
},
"repository": {
"type": "git",
......@@ -24,6 +25,17 @@
"url": "https://jasonpark.me/"
},
"license": "MIT",
"dependencies": {
"express": "^4.15.4",
"morgan": "^1.9.1",
"cookie-parser": "^1.4.3",
"body-parser": "^1.18.2",
"bluebird": "latest",
"axios": "latest",
"fs-extra": "^6.0.1",
"express-github-webhook": "^1.0.6",
"uuid": "^3.2.1"
},
"devDependencies": {
"@fortawesome/fontawesome": "^1.1.5",
"@fortawesome/fontawesome-free-brands": "^5.0.9",
......@@ -31,7 +43,6 @@
"@fortawesome/fontawesome-svg-core": "^1.2.0",
"@fortawesome/react-fontawesome": "0.1.0",
"autoprefixer": "latest",
"axios": "latest",
"axios-progress-bar": "^1.1.8",
"babel-core": "^6.18.0",
"babel-loader": "^7.1.2",
......@@ -42,14 +53,11 @@
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-3": "^6.24.1",
"bluebird": "latest",
"body-parser": "^1.18.2",
"brace": "latest",
"chart.js": "^2.7.2",
"clean-webpack-plugin": "^0.1.16",
"compression": "latest",
"connect-history-api-fallback": "^1.3.0",
"cookie-parser": "^1.4.3",
"copy-webpack-plugin": "^4.0.1",
"css-hot-loader": "^1.3.9",
"css-loader": "^1.0.0",
......@@ -58,15 +66,11 @@
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"express": "^4.15.4",
"express-github-webhook": "^1.0.6",
"fs-extra": "^6.0.1",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.18.0",
"imagemin-webpack-plugin": "^2.3.0",
"js-cookie": "^2.2.0",
"mini-css-extract-plugin": "^0.4.0",
"morgan": "^1.9.1",
"node-sass": "^4.5.3",
"postcss-flexboxfixer": "0.0.5",
"postcss-loader": "^2.0.6",
......@@ -91,7 +95,6 @@
"screenfull": "^3.3.2",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.4",
"uuid": "^3.2.1",
"webpack": "^4.5.0",
"webpack-bundle-analyzer": "^2.11.1",
"webpack-cli": "^3.0.8",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册