Added webpack dev server

This commit is contained in:
Tim Stallard 2017-02-19 23:58:12 +00:00
parent c4cdd3bd39
commit 5779d4ac37

View File

@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "webpack --config client/webpack.config.js", "build": "webpack --config client/webpack.config.js",
"build-dev": "webpack --config client/webpack.config.js --watch --progress --colors" "dev-server": "webpack-dev-server --config client/webpack.config.js --watch --progress --colors"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -19,6 +19,7 @@
"homepage": "https://github.com/TimStallard/CryptoAssist#readme", "homepage": "https://github.com/TimStallard/CryptoAssist#readme",
"devDependencies": { "devDependencies": {
"html-webpack-plugin": "^2.28.0", "html-webpack-plugin": "^2.28.0",
"webpack": "^2.2.1" "webpack": "^2.2.1",
"webpack-dev-server": "^2.3.0"
} }
} }