package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "name": "webpack-dev-server",
  3. "version": "4.9.2",
  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. "files": [
  9. "bin",
  10. "lib",
  11. "client",
  12. "types"
  13. ],
  14. "engines": {
  15. "node": ">= 12.13.0"
  16. },
  17. "scripts": {
  18. "fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
  19. "lint:js": "eslint . --cache",
  20. "lint:types": "tsc --pretty --noEmit",
  21. "lint": "npm-run-all -p \"fmt:**\" \"lint:**\"",
  22. "fmt": "npm run fmt:check -- --write",
  23. "fix:js": "npm run lint:js -- --fix",
  24. "fix": "npm-run-all fix:js fmt",
  25. "commitlint": "commitlint --from=master",
  26. "build:client": "rimraf ./client/* && babel client-src/ --out-dir client/ --ignore \"client-src/webpack.config.js\" --ignore \"client-src/modules\" && webpack --config client-src/webpack.config.js",
  27. "build:types": "rimraf ./types/* && tsc --declaration --emitDeclarationOnly --outDir types && node ./scripts/extend-webpack-types.js && prettier \"types/**/*.ts\" --write && prettier \"types/**/*.ts\" --write",
  28. "build": "npm-run-all -p \"build:**\"",
  29. "test:only": "jest",
  30. "test:coverage": "npm run test:only -- --coverage",
  31. "test:watch": "npm run test:coverage --watch",
  32. "test": "npm run test:coverage",
  33. "pretest": "npm run lint",
  34. "prepare": "husky install && npm run build",
  35. "release": "standard-version"
  36. },
  37. "dependencies": {
  38. "@types/bonjour": "^3.5.9",
  39. "@types/connect-history-api-fallback": "^1.3.5",
  40. "@types/express": "^4.17.13",
  41. "@types/serve-index": "^1.9.1",
  42. "@types/serve-static": "^1.13.10",
  43. "@types/sockjs": "^0.3.33",
  44. "@types/ws": "^8.5.1",
  45. "ansi-html-community": "^0.0.8",
  46. "bonjour-service": "^1.0.11",
  47. "chokidar": "^3.5.3",
  48. "colorette": "^2.0.10",
  49. "compression": "^1.7.4",
  50. "connect-history-api-fallback": "^1.6.0",
  51. "default-gateway": "^6.0.3",
  52. "express": "^4.17.3",
  53. "graceful-fs": "^4.2.6",
  54. "html-entities": "^2.3.2",
  55. "http-proxy-middleware": "^2.0.3",
  56. "ipaddr.js": "^2.0.1",
  57. "open": "^8.0.9",
  58. "p-retry": "^4.5.0",
  59. "rimraf": "^3.0.2",
  60. "schema-utils": "^4.0.0",
  61. "selfsigned": "^2.0.1",
  62. "serve-index": "^1.9.1",
  63. "sockjs": "^0.3.24",
  64. "spdy": "^4.0.2",
  65. "webpack-dev-middleware": "^5.3.1",
  66. "ws": "^8.4.2"
  67. },
  68. "devDependencies": {
  69. "@babel/cli": "^7.17.3",
  70. "@babel/core": "^7.17.5",
  71. "@babel/eslint-parser": "^7.17.0",
  72. "@babel/plugin-transform-object-assign": "^7.14.5",
  73. "@babel/plugin-transform-runtime": "^7.17.0",
  74. "@babel/preset-env": "^7.16.11",
  75. "@babel/runtime": "^7.17.2",
  76. "@commitlint/cli": "^16.2.3",
  77. "@commitlint/config-conventional": "^16.2.1",
  78. "@types/compression": "^1.7.2",
  79. "@types/default-gateway": "^3.0.1",
  80. "@types/rimraf": "^3.0.2",
  81. "@types/sockjs-client": "^1.5.1",
  82. "@types/trusted-types": "^2.0.2",
  83. "acorn": "^8.2.4",
  84. "babel-jest": "^27.5.1",
  85. "babel-loader": "^8.2.4",
  86. "body-parser": "^1.19.2",
  87. "core-js": "^3.21.1",
  88. "css-loader": "^5.2.4",
  89. "eslint": "^8.12.0",
  90. "eslint-config-prettier": "^8.4.0",
  91. "eslint-config-webpack": "^1.2.5",
  92. "eslint-plugin-import": "^2.23.2",
  93. "execa": "^5.1.1",
  94. "file-loader": "^6.2.0",
  95. "html-webpack-plugin": "^4.5.2",
  96. "http-proxy": "^1.18.1",
  97. "husky": "^7.0.0",
  98. "jest": "^27.5.1",
  99. "klona": "^2.0.4",
  100. "less": "^4.1.1",
  101. "less-loader": "^7.3.0",
  102. "lint-staged": "^12.3.4",
  103. "marked": "^4.0.12",
  104. "memfs": "^3.2.2",
  105. "npm-run-all": "^4.1.5",
  106. "prettier": "^2.6.1",
  107. "puppeteer": "^13.4.1",
  108. "require-from-string": "^2.0.2",
  109. "rimraf": "^3.0.2",
  110. "sockjs-client": "^1.6.1",
  111. "standard-version": "^9.3.0",
  112. "strip-ansi-v6": "npm:strip-ansi@^6.0.0",
  113. "style-loader": "^2.0.0",
  114. "supertest": "^6.1.3",
  115. "tcp-port-used": "^1.0.2",
  116. "typescript": "^4.7.2",
  117. "url-loader": "^4.1.1",
  118. "webpack": "^5.71.0",
  119. "webpack-cli": "^4.7.2",
  120. "webpack-merge": "^5.8.0"
  121. },
  122. "peerDependencies": {
  123. "webpack": "^4.37.0 || ^5.0.0"
  124. },
  125. "peerDependenciesMeta": {
  126. "webpack-cli": {
  127. "optional": true
  128. }
  129. },
  130. "author": "Tobias Koppers @sokra",
  131. "bugs": "https://github.com/webpack/webpack-dev-server/issues",
  132. "homepage": "https://github.com/webpack/webpack-dev-server#readme",
  133. "repository": "https://github.com/webpack/webpack-dev-server.git",
  134. "license": "MIT"
  135. }