refactor webpack config
This commit is contained in:
parent
2d97ae4239
commit
8a37cf2c95
9 changed files with 31 additions and 131 deletions
11
package.json
11
package.json
|
|
@ -4,9 +4,9 @@
|
|||
"author": "uwap <me+mqttmap.package.json@uwap.name>",
|
||||
"description": "control devices via mqtt on a beautiful map of your space",
|
||||
"scripts": {
|
||||
"build": "webpack --bail --config webpack.dev.js --env",
|
||||
"production-build": "webpack --bail --config webpack.prod.js --env",
|
||||
"watch": "webpack-dev-server --open --config webpack.dev.js --env",
|
||||
"build": "webpack --bail --config webpack.config.js -p --env",
|
||||
"dev": "webpack --bail --config webpack.config.js --mode development --env",
|
||||
"watch": "webpack-dev-server --open --config webpack.dev.js --mode development --env",
|
||||
"travis": "./travis.sh",
|
||||
"lint": "eslint -- --ext js --ext jsx src/",
|
||||
"precommit": "yarn lint"
|
||||
|
|
@ -15,7 +15,6 @@
|
|||
"@material-ui/core": "^1.2.1",
|
||||
"@material-ui/lab": "^1.0.0-alpha.5",
|
||||
"@mdi/font": "^2.0.46",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"leaflet": "^1.3.1",
|
||||
"lodash-es": "^4.17.4",
|
||||
"mqtt": "^2.14.0",
|
||||
|
|
@ -32,24 +31,22 @@
|
|||
"babel-loader": "^7.1.1",
|
||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"clean-webpack-plugin": "^0.1.18",
|
||||
"css-loader": "^0.28.9",
|
||||
"eslint": "^4.16.0",
|
||||
"eslint-plugin-flowtype": "^2.42.0",
|
||||
"eslint-plugin-react": "^7.6.1",
|
||||
"extract-text-webpack-plugin": "next",
|
||||
"file-loader": "^1.1.5",
|
||||
"flow": "^0.2.3",
|
||||
"flow-bin": "^0.70.0",
|
||||
"flow-typed": "^2.3.0",
|
||||
"html-webpack-plugin": "^3.1.0",
|
||||
"husky": "^0.14.3",
|
||||
"lodash-webpack-plugin": "^0.11.4",
|
||||
"style-loader": "^0.21.0",
|
||||
"webpack": "^4.3.0",
|
||||
"webpack-cli": "^3.0.0",
|
||||
"webpack-dev-server": "^3.1.1",
|
||||
"webpack-merge": "^4.1.1",
|
||||
"webpack-shell-plugin": "^0.5.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue