Skip to content

Commit

Permalink
server-hmr
Browse files Browse the repository at this point in the history
  • Loading branch information
foxhound87 committed Sep 14, 2016
1 parent ade3e3b commit f9d2eed
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 17 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@
"cors": "2.8.1",
"cross-env": "2.0.1",
"css-modules-require-hook": "4.0.2",
"cssnano": "3.7.4",
"dotenv": "2.0.0",
"ejs": "2.5.2",
"extract-text-webpack-plugin": "1.0.1",
"faker": "3.1.0",
"feathers": "2.0.1",
"feathers-authentication": "0.7.10",
Expand Down Expand Up @@ -90,13 +88,6 @@
"morgan": "1.7.0",
"node-uuid": "1.4.7",
"normalize.css": "4.2.0",
"postcss": "5.2.0",
"postcss-extend": "1.0.5",
"postcss-focus": "1.0.0",
"postcss-import": "8.1.2",
"postcss-url": "5.1.2",
"precss": "1.4.0",
"progress-bar-webpack-plugin": "1.9.0",
"react": "15.3.1",
"react-css-modules": "3.7.10",
"react-dom": "15.3.1",
Expand All @@ -111,13 +102,7 @@
"safe-access": "0.1.0",
"serve-static": "1.11.1",
"socket.io-client": "1.4.8",
"start-server-webpack-plugin": "2.0.1",
"validatorjs": "3.6.0",
"webpack": "1.13.2",
"webpack-dev-middleware": "1.7.0",
"webpack-hot-middleware": "2.12.2",
"webpack-merge": "0.14.1",
"webpack-node-externals": "1.3.3",
"whatwg-fetch": "1.0.0",
"winston": "2.2.0"
},
Expand All @@ -140,21 +125,36 @@
"browser-sync": "2.15.0",
"connect-history-api-fallback": "1.3.0",
"css-loader": "0.25.0",
"cssnano": "3.7.4",
"eslint": "3.5.0",
"eslint-config-airbnb": "11.1.0",
"eslint-loader": "1.5.0",
"eslint-plugin-import": "1.15.0",
"eslint-plugin-jsx-a11y": "2.2.2",
"eslint-plugin-jsx-control-statements": "2.1.1",
"eslint-plugin-react": "6.2.1",
"extract-text-webpack-plugin": "1.0.1",
"file-loader": "0.9.0",
"imports-loader": "0.6.5",
"isomorphic-style-loader": "1.0.0",
"json-loader": "0.5.4",
"jsx-control-statements": "3.1.4",
"nodemon": "1.10.2",
"postcss": "5.2.0",
"postcss-extend": "1.0.5",
"postcss-focus": "1.0.0",
"postcss-import": "8.1.2",
"postcss-loader": "0.13.0",
"postcss-url": "5.1.2",
"precss": "1.4.0",
"progress-bar-webpack-plugin": "1.9.0",
"start-server-webpack-plugin": "2.0.1",
"style-loader": "0.13.1",
"url-loader": "0.5.7"
"url-loader": "0.5.7",
"webpack": "1.13.2",
"webpack-dev-middleware": "1.7.0",
"webpack-hot-middleware": "2.12.2",
"webpack-merge": "0.14.1",
"webpack-node-externals": "1.3.3"
}
}
2 changes: 1 addition & 1 deletion src/utils/server.start.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ServerStart {
this.app
.listen(
config[key.toLowerCase()].port,
config[key.toLowerCase()].host,
config[key.toLowerCase()].host
)
.on('listening', () => logger && logger(key));
}
Expand Down
1 change: 1 addition & 0 deletions src/web/middleware/hot.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint import/no-extraneous-dependencies: 0 */
// import historyApiFallback from 'connect-history-api-fallback';
import webpackHotMiddleware from 'webpack-hot-middleware';
import webpackDevMiddleware from 'webpack-dev-middleware';
Expand Down
1 change: 1 addition & 0 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint global-require: 0 */
/* eslint import/imports-first: 0 */
/* eslint import/newline-after-import: 0 */
/* eslint import/no-extraneous-dependencies: 0 */
import './run/init';
import merge from 'webpack-merge';
import match from './src/utils/match';
Expand Down
1 change: 1 addition & 0 deletions webpack.config.client.babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint global-require: 0 */
/* eslint import/imports-first: 0 */
/* eslint import/newline-after-import: 0 */
/* eslint import/no-extraneous-dependencies: 0 */
import './run/init';
import merge from 'webpack-merge';
import Globals from './webpack/globals';
Expand Down
5 changes: 5 additions & 0 deletions webpack/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }]
}
}

0 comments on commit f9d2eed

Please sign in to comment.