{
  "name": "wds-template",
  "version": "1.1.0",
  "description": "Template of webpack-dev-server",
  "author": "zprodev <zproject.develop@gmail.com> (https://github.com/zprodev)",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zprodev/wds-template.git"
  },
  "main": "index.js",
  "scripts": {
    "start": "npm run mkdist && npm run cpassets -- -w & npm run cphtml -- -w & webpack-dev-server",
    "build": "npm run mkdist && npm run cpassets && npm run cphtml && webpack",
    "mkdist": "rimraf dist/ && mkdirp dist/",
    "cpassets": "cpx 'assets/**/*' dist/",
    "cphtml": "cpx src/index.html dist/"
  },
  "dependencies": {
    "babel-polyfill": "^6.26.0"
  },
  "devDependencies": {
    "cpx": "^1.5.0",
    "mkdirp": "^0.5.1",
    "rimraf": "^2.6.2",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-preset-env": "^1.6.1",
    "webpack": "^3.5.6",
    "webpack-dev-server": "^2.7.1"
  }
}

{
  "name": "wds-template",
  "version": "1.1.0",
  "description": "Template of webpack-dev-server",
  "author": "zprodev <zproject.develop@gmail.com> (https://github.com/zprodev)",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zprodev/wds-template.git"
  },
  "main": "index.js",
  "scripts": {
    "start": "npm run mkdist && npm run cpassets -- -w & npm run cphtml -- -w & webpack-dev-server",
    "build": "npm run mkdist && npm run cpassets && npm run cphtml && webpack --optimize-minimize",
    "mkdist": "rimraf dist/ && mkdirp dist/",
    "cpassets": "cpx 'assets/**/*' dist/",
    "cphtml": "cpx src/index.html dist/"
  },
  "dependencies": {
    "babel-polyfill": "^6.26.0"
  },
  "devDependencies": {
    "cpx": "^1.5.0",
    "mkdirp": "^0.5.1",
    "rimraf": "^2.6.2",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-preset-env": "^1.6.1",
    "webpack": "^3.5.6",
    "webpack-dev-server": "^2.7.1"
  }
}

Add setting of minimize for webpack
Add setting of minimize for webpack
