package.json 3.4 KB

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