10
0

package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "name": "webpack-dev-server",
  3. "version": "5.2.0",
  4. "description": "Serves a webpack app. Updates the browser on changes.",
  5. "bin": "bin/webpack-dev-server.js",
  6. "main": "lib/Server.js",
  7. "types": "types/lib/Server.d.ts",
  8. "author": "Tobias Koppers @sokra",
  9. "bugs": "https://github.com/webpack/webpack-dev-server/issues",
  10. "homepage": "https://github.com/webpack/webpack-dev-server#readme",
  11. "repository": "https://github.com/webpack/webpack-dev-server",
  12. "license": "MIT",
  13. "funding": {
  14. "type": "opencollective",
  15. "url": "https://opencollective.com/webpack"
  16. },
  17. "files": [
  18. "bin",
  19. "lib",
  20. "client",
  21. "types"
  22. ],
  23. "engines": {
  24. "node": ">= 18.12.0"
  25. },
  26. "scripts": {
  27. "fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
  28. "lint:prettier": "prettier --cache --list-different .",
  29. "lint:js": "eslint --cache .",
  30. "lint:types": "tsc --pretty --noEmit",
  31. "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
  32. "lint": "npm-run-all -l -p \"lint:**\"",
  33. "fix:js": "npm run lint:js -- --fix",
  34. "fix:prettier": "npm run lint:prettier -- --write",
  35. "fix": "npm-run-all -l fix:js fix:prettier",
  36. "commitlint": "commitlint --from=master",
  37. "build:client": "rimraf -g ./client/* && babel client-src/ --out-dir client/ --ignore \"client-src/webpack.config.js\" --ignore \"client-src/modules\" && webpack --config client-src/webpack.config.js",
  38. "build:types": "rimraf -g ./types/* && tsc --declaration --emitDeclarationOnly --outDir types && node ./scripts/extend-webpack-types.js && prettier \"types/**/*.ts\" --write && prettier \"types/**/*.ts\" --write",
  39. "build": "npm-run-all -p \"build:**\"",
  40. "test:only": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
  41. "test:coverage": "npm run test:only -- --coverage",
  42. "test:watch": "npm run test:coverage --watch",
  43. "test": "npm run test:coverage",
  44. "pretest": "npm run lint",
  45. "prepare": "husky && npm run build",
  46. "release": "standard-version"
  47. },
  48. "dependencies": {
  49. "@types/bonjour": "^3.5.13",
  50. "@types/connect-history-api-fallback": "^1.5.4",
  51. "@types/express": "^4.17.21",
  52. "@types/serve-index": "^1.9.4",
  53. "@types/serve-static": "^1.15.5",
  54. "@types/sockjs": "^0.3.36",
  55. "@types/ws": "^8.5.10",
  56. "ansi-html-community": "^0.0.8",
  57. "bonjour-service": "^1.2.1",
  58. "chokidar": "^3.6.0",
  59. "colorette": "^2.0.10",
  60. "compression": "^1.7.4",
  61. "connect-history-api-fallback": "^2.0.0",
  62. "express": "^4.21.2",
  63. "graceful-fs": "^4.2.6",
  64. "http-proxy-middleware": "^2.0.7",
  65. "ipaddr.js": "^2.1.0",
  66. "launch-editor": "^2.6.1",
  67. "open": "^10.0.3",
  68. "p-retry": "^6.2.0",
  69. "schema-utils": "^4.2.0",
  70. "selfsigned": "^2.4.1",
  71. "serve-index": "^1.9.1",
  72. "sockjs": "^0.3.24",
  73. "spdy": "^4.0.2",
  74. "webpack-dev-middleware": "^7.4.2",
  75. "ws": "^8.18.0"
  76. },
  77. "devDependencies": {
  78. "@babel/cli": "^7.25.9",
  79. "@babel/core": "^7.25.9",
  80. "@babel/eslint-parser": "^7.25.9",
  81. "@babel/plugin-transform-object-assign": "^7.25.9",
  82. "@babel/plugin-transform-runtime": "^7.25.9",
  83. "@babel/preset-env": "^7.25.9",
  84. "@babel/runtime": "^7.25.9",
  85. "@commitlint/cli": "^19.5.0",
  86. "@commitlint/config-conventional": "^19.5.0",
  87. "@hono/node-server": "^1.13.3",
  88. "@types/compression": "^1.7.2",
  89. "@types/node": "^22.8.4",
  90. "@types/node-forge": "^1.3.1",
  91. "@types/sockjs-client": "^1.5.1",
  92. "@types/trusted-types": "^2.0.2",
  93. "acorn": "^8.14.0",
  94. "babel-jest": "^29.5.0",
  95. "babel-loader": "^9.2.1",
  96. "body-parser": "^1.19.2",
  97. "connect": "^3.7.0",
  98. "core-js": "^3.38.1",
  99. "cspell": "^8.15.5",
  100. "css-loader": "^7.1.1",
  101. "eslint": "^8.57.1",
  102. "eslint-config-prettier": "^9.1.0",
  103. "eslint-config-webpack": "^1.2.5",
  104. "eslint-plugin-import": "^2.31.0",
  105. "execa": "^5.1.1",
  106. "hono": "^4.6.8",
  107. "html-webpack-plugin": "^5.6.3",
  108. "http-proxy": "^1.18.1",
  109. "husky": "^9.1.6",
  110. "jest": "^29.5.0",
  111. "jest-environment-jsdom": "^29.5.0",
  112. "klona": "^2.0.4",
  113. "less": "^4.1.1",
  114. "less-loader": "^12.1.0",
  115. "lint-staged": "^15.2.10",
  116. "marked": "^12.0.0",
  117. "memfs": "^4.14.0",
  118. "npm-run-all": "^4.1.5",
  119. "prettier": "^3.2.4",
  120. "puppeteer": "^23.6.1",
  121. "readable-stream": "^4.5.2",
  122. "require-from-string": "^2.0.2",
  123. "rimraf": "^5.0.5",
  124. "sockjs-client": "^1.6.1",
  125. "standard-version": "^9.3.0",
  126. "strip-ansi-v6": "npm:strip-ansi@^6.0.0",
  127. "style-loader": "^4.0.0",
  128. "supertest": "^7.0.0",
  129. "tcp-port-used": "^1.0.2",
  130. "typescript": "^5.7.2",
  131. "wait-for-expect": "^3.0.2",
  132. "webpack": "^5.94.0",
  133. "webpack-cli": "^5.0.1",
  134. "webpack-merge": "^6.0.1"
  135. },
  136. "peerDependencies": {
  137. "webpack": "^5.0.0"
  138. },
  139. "peerDependenciesMeta": {
  140. "webpack-cli": {
  141. "optional": true
  142. },
  143. "webpack": {
  144. "optional": true
  145. }
  146. }
  147. }