package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "name": "webpack-dev-middleware",
  3. "version": "7.4.3",
  4. "description": "A development middleware for webpack",
  5. "keywords": [
  6. "webpack",
  7. "middleware",
  8. "development"
  9. ],
  10. "homepage": "https://github.com/webpack/webpack-dev-middleware",
  11. "bugs": "https://github.com/webpack/webpack-dev-middleware/issues",
  12. "repository": "webpack/webpack-dev-middleware",
  13. "funding": {
  14. "type": "opencollective",
  15. "url": "https://opencollective.com/webpack"
  16. },
  17. "license": "MIT",
  18. "author": "Tobias Koppers @sokra",
  19. "main": "dist/index.js",
  20. "types": "types/index.d.ts",
  21. "files": [
  22. "dist",
  23. "types"
  24. ],
  25. "scripts": {
  26. "commitlint": "commitlint --from=master",
  27. "security": "npm audit --production",
  28. "lint:prettier": "prettier --cache --list-different .",
  29. "lint:code": "eslint --cache .",
  30. "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
  31. "lint:types": "tsc --pretty --noEmit",
  32. "lint": "npm-run-all -l -p \"lint:**\"",
  33. "fix:js": "npm run lint:code -- --fix",
  34. "fix:prettier": "npm run lint:prettier -- --write",
  35. "fix": "npm-run-all -l fix:js fix:prettier",
  36. "clean": "del-cli dist types",
  37. "prebuild": "npm run clean",
  38. "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  39. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  40. "build": "npm-run-all -p \"build:**\"",
  41. "test:only": "cross-env NODE_ENV=test jest",
  42. "test:watch": "npm run test:only -- --watch",
  43. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  44. "pretest": "npm run lint",
  45. "test": "npm run test:coverage",
  46. "prepare": "husky && npm run build",
  47. "release": "standard-version"
  48. },
  49. "dependencies": {
  50. "colorette": "^2.0.10",
  51. "memfs": "^4.6.0",
  52. "mime-types": "^3.0.1",
  53. "on-finished": "^2.4.1",
  54. "range-parser": "^1.2.1",
  55. "schema-utils": "^4.0.0"
  56. },
  57. "devDependencies": {
  58. "@babel/cli": "^7.16.7",
  59. "@babel/core": "^7.16.7",
  60. "@babel/preset-env": "^7.16.7",
  61. "@eslint/js": "^9.28.0",
  62. "@eslint/markdown": "^7.1.0",
  63. "@commitlint/cli": "^19.0.3",
  64. "@commitlint/config-conventional": "^19.0.3",
  65. "@fastify/express": "^4.0.2",
  66. "@hapi/hapi": "^21.3.7",
  67. "@hono/node-server": "^1.12.0",
  68. "@stylistic/eslint-plugin": "^4.4.1",
  69. "@types/connect": "^3.4.35",
  70. "@types/express": "^5.0.2",
  71. "@types/mime-types": "^2.1.1",
  72. "@types/node": "^22.3.0",
  73. "@types/on-finished": "^2.3.4",
  74. "babel-jest": "^29.3.1",
  75. "connect": "^3.7.0",
  76. "cross-env": "^7.0.3",
  77. "cspell": "^8.3.2",
  78. "deepmerge": "^4.2.2",
  79. "del-cli": "^6.0.0",
  80. "globals": "^16.2.0",
  81. "eslint": "^9.28.0",
  82. "eslint-config-webpack": "^4.5.0",
  83. "eslint-config-prettier": "^10.1.5",
  84. "eslint-plugin-import": "^2.31.0",
  85. "eslint-plugin-jest": "^28.12.0",
  86. "eslint-plugin-jsdoc": "^50.7.1",
  87. "eslint-plugin-n": "^17.19.0",
  88. "eslint-plugin-prettier": "^5.4.1",
  89. "eslint-plugin-unicorn": "^60.0.0",
  90. "execa": "^5.1.1",
  91. "express-4": "npm:express@^4",
  92. "express": "^5.1.0",
  93. "fastify": "^5.2.1",
  94. "file-loader": "^6.2.0",
  95. "finalhandler": "^2.1.0",
  96. "hono": "^4.4.13",
  97. "husky": "^9.1.3",
  98. "jest": "^29.3.1",
  99. "joi": "^17.12.2",
  100. "koa": "^3.0.0",
  101. "lint-staged": "^15.2.0",
  102. "npm-run-all": "^4.1.5",
  103. "prettier": "^3.6.0",
  104. "router": "^2.2.0",
  105. "standard-version": "^9.3.0",
  106. "strip-ansi": "^6.0.0",
  107. "supertest": "^7.0.0",
  108. "typescript": "^5.3.3",
  109. "webpack": "^5.101.0"
  110. },
  111. "peerDependencies": {
  112. "webpack": "^5.0.0"
  113. },
  114. "peerDependenciesMeta": {
  115. "webpack": {
  116. "optional": true
  117. }
  118. },
  119. "engines": {
  120. "node": ">= 18.12.0"
  121. }
  122. }