package.json 3.6 KB

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