Merge pull request #11652 from grafana/davkal/hmr
Add weback-dev-server with hot/hmr support
Showing
... | @@ -23,6 +23,7 @@ | ... | @@ -23,6 +23,7 @@ |
"babel-core": "^6.26.0", | "babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.2", | "babel-loader": "^7.1.2", | ||
"babel-preset-es2015": "^6.24.1", | "babel-preset-es2015": "^6.24.1", | ||
"clean-webpack-plugin": "^0.1.19", | |||
"css-loader": "^0.28.7", | "css-loader": "^0.28.7", | ||
"enzyme": "^3.1.0", | "enzyme": "^3.1.0", | ||
"enzyme-adapter-react-16": "^1.0.1", | "enzyme-adapter-react-16": "^1.0.1", | ||
... | @@ -54,6 +55,7 @@ | ... | @@ -54,6 +55,7 @@ |
"grunt-usemin": "3.1.1", | "grunt-usemin": "3.1.1", | ||
"grunt-webpack": "^3.0.2", | "grunt-webpack": "^3.0.2", | ||
"html-loader": "^0.5.1", | "html-loader": "^0.5.1", | ||
"html-webpack-harddisk-plugin": "^0.2.0", | |||
"html-webpack-plugin": "^2.30.1", | "html-webpack-plugin": "^2.30.1", | ||
"husky": "^0.14.3", | "husky": "^0.14.3", | ||
"jest": "^22.0.4", | "jest": "^22.0.4", | ||
... | @@ -80,10 +82,12 @@ | ... | @@ -80,10 +82,12 @@ |
"postcss-loader": "^2.0.6", | "postcss-loader": "^2.0.6", | ||
"postcss-reporter": "^5.0.0", | "postcss-reporter": "^5.0.0", | ||
"prettier": "1.9.2", | "prettier": "1.9.2", | ||
"react-hot-loader": "^4.0.1", | |||
"react-test-renderer": "^16.0.0", | "react-test-renderer": "^16.0.0", | ||
"sass-lint": "^1.10.2", | "sass-lint": "^1.10.2", | ||
"sass-loader": "^6.0.6", | "sass-loader": "^6.0.6", | ||
"sinon": "1.17.6", | "sinon": "1.17.6", | ||
"style-loader": "^0.20.3", | |||
"systemjs": "0.20.19", | "systemjs": "0.20.19", | ||
"systemjs-plugin-css": "^0.1.36", | "systemjs-plugin-css": "^0.1.36", | ||
"ts-jest": "^22.0.0", | "ts-jest": "^22.0.0", | ||
... | @@ -94,11 +98,13 @@ | ... | @@ -94,11 +98,13 @@ |
"webpack": "^3.10.0", | "webpack": "^3.10.0", | ||
"webpack-bundle-analyzer": "^2.9.0", | "webpack-bundle-analyzer": "^2.9.0", | ||
"webpack-cleanup-plugin": "^0.5.1", | "webpack-cleanup-plugin": "^0.5.1", | ||
"webpack-dev-server": "2.11.1", | |||
"webpack-merge": "^4.1.0", | "webpack-merge": "^4.1.0", | ||
"zone.js": "^0.7.2" | "zone.js": "^0.7.2" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"dev": "webpack --progress --colors --config scripts/webpack/webpack.dev.js", | "dev": "webpack --progress --colors --config scripts/webpack/webpack.dev.js", | ||
"start": "webpack-dev-server --progress --colors --config scripts/webpack/webpack.dev.js", | |||
"watch": "webpack --progress --colors --watch --config scripts/webpack/webpack.dev.js", | "watch": "webpack --progress --colors --watch --config scripts/webpack/webpack.dev.js", | ||
"build": "grunt build", | "build": "grunt build", | ||
"test": "grunt test", | "test": "grunt test", | ||
... | ... |
public/app/dev.ts
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment