package.json 3.56 KB
Newer Older
liang ce committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
{
  "name": "webpack-dev-server",
  "version": "3.3.1",
  "description": "Serves a webpack app. Updates the browser on changes.",
  "bin": "bin/webpack-dev-server.js",
  "main": "lib/Server.js",
  "files": [
    "bin",
    "lib",
    "ssl",
    "client"
  ],
  "engines": {
    "node": ">= 6.11.5"
  },
  "scripts": {
    "lint": "eslint bin lib test examples client-src",
    "pretty": "prettier --loglevel warn --write \"**/*.{js,css,md,json,yml}\"",
    "test": "jest --runInBand",
    "prepare": "rimraf ./ssl/*.pem && npm run -s transpile:index && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
    "transpile:index": "babel client-src/default --out-dir client --ignore *.config.js",
    "build:index": "webpack ./client-src/default/index.js -o client/index.bundle.js --color --config client-src/default/webpack.config.js",
    "build:live": "webpack ./client-src/live/index.js -o client/live.bundle.js --color --config client-src/live/webpack.config.js",
    "build:sockjs": "webpack ./client-src/sockjs/index.js -o client/sockjs.bundle.js --color --config client-src/sockjs/webpack.config.js",
    "webpack-dev-server": "cd $INIT_CWD && node ../../../bin/webpack-dev-server.js",
    "release": "standard-version"
  },
  "dependencies": {
    "ansi-html": "0.0.7",
    "bonjour": "^3.5.0",
    "chokidar": "^2.1.5",
    "compression": "^1.7.4",
    "connect-history-api-fallback": "^1.6.0",
    "debug": "^4.1.1",
    "del": "^4.1.0",
    "express": "^4.16.4",
    "html-entities": "^1.2.1",
    "http-proxy-middleware": "^0.19.1",
    "import-local": "^2.0.0",
    "internal-ip": "^4.2.0",
    "ip": "^1.1.5",
    "killable": "^1.0.1",
    "loglevel": "^1.6.1",
    "opn": "^5.5.0",
    "portfinder": "^1.0.20",
    "schema-utils": "^1.0.0",
    "selfsigned": "^1.10.4",
    "semver": "^6.0.0",
    "serve-index": "^1.9.1",
    "sockjs": "0.3.19",
    "sockjs-client": "1.3.0",
    "spdy": "^4.0.0",
    "strip-ansi": "^3.0.1",
    "supports-color": "^6.1.0",
    "url": "^0.11.0",
    "webpack-dev-middleware": "^3.6.2",
    "webpack-log": "^2.0.0",
    "yargs": "12.0.5"
  },
  "devDependencies": {
    "@babel/cli": "7.4.3",
    "@babel/core": "7.4.3",
    "@babel/preset-env": "7.4.3",
    "babel-loader": "8.0.5",
    "copy-webpack-plugin": "5.0.2",
    "css-loader": "2.1.1",
    "eslint": "5.16.0",
    "eslint-config-prettier": "4.1.0",
    "eslint-config-webpack": "1.2.5",
    "eslint-plugin-import": "2.16.0",
    "eslint-plugin-prettier": "3.0.1",
    "execa": "1.0.0",
    "file-loader": "3.0.1",
    "html-loader": "0.5.5",
    "html-webpack-plugin": "3.2.0",
    "husky": "1.3.1",
    "jest": "24.7.1",
    "jquery": "3.3.1",
    "less": "3.9.0",
    "less-loader": "4.1.0",
    "lint-staged": "8.1.5",
    "marked": "0.6.2",
    "nyc": "13.3.0",
    "prettier": "1.16.4",
    "puppeteer": "1.14.0",
    "rimraf": "2.6.3",
    "standard-version": "5.0.2",
    "style-loader": "0.23.1",
    "supertest": "4.0.2",
    "url-loader": "1.1.2",
    "webpack": "4.29.6",
    "webpack-cli": "3.3.0",
    "ws": "6.2.1"
  },
  "peerDependencies": {
    "webpack": "^4.0.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "prettier --write",
      "git add"
    ],
    "*.{css,md,json,yml}": [
      "prettier --write",
      "git add"
    ]
  },
  "author": "Tobias Koppers @sokra",
  "bugs": "https://github.com/webpack/webpack-dev-server/issues",
  "homepage": "https://github.com/webpack/webpack-dev-server#readme",
  "repository": "https://github.com/webpack/webpack-dev-server.git",
  "license": "MIT"
}