package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "webpack-dev-middleware",
  3. "version": "5.3.3",
  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": ">= 12.13.0"
  18. },
  19. "scripts": {
  20. "commitlint": "commitlint --from=master",
  21. "security": "npm audit --production",
  22. "fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
  23. "lint:js": "eslint --cache src test",
  24. "lint:types": "tsc --pretty --noEmit",
  25. "lint": "npm-run-all lint:js fmt:check",
  26. "fmt": "npm run fmt:check -- --write",
  27. "fix:js": "npm run lint:js -- --fix",
  28. "fix": "npm-run-all fix:js fmt",
  29. "clean": "del-cli dist types",
  30. "prebuild": "npm run clean",
  31. "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  32. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  33. "build": "npm-run-all -p \"build:**\"",
  34. "test:only": "cross-env NODE_ENV=test jest",
  35. "test:watch": "npm run test:only -- --watch",
  36. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  37. "pretest": "npm run lint",
  38. "test": "npm run test:coverage",
  39. "prepare": "husky install && npm run build",
  40. "release": "standard-version"
  41. },
  42. "files": [
  43. "dist",
  44. "types"
  45. ],
  46. "peerDependencies": {
  47. "webpack": "^4.0.0 || ^5.0.0"
  48. },
  49. "dependencies": {
  50. "colorette": "^2.0.10",
  51. "memfs": "^3.4.3",
  52. "mime-types": "^2.1.31",
  53. "range-parser": "^1.2.1",
  54. "schema-utils": "^4.0.0"
  55. },
  56. "devDependencies": {
  57. "@babel/cli": "^7.16.7",
  58. "@babel/core": "^7.16.7",
  59. "@babel/preset-env": "^7.16.7",
  60. "@commitlint/cli": "^17.0.0",
  61. "@commitlint/config-conventional": "^17.0.0",
  62. "@types/connect": "^3.4.35",
  63. "@types/express": "^4.17.13",
  64. "@types/mime-types": "^2.1.1",
  65. "@types/node": "^12.20.43",
  66. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  67. "babel-jest": "^28.1.0",
  68. "chokidar": "^3.5.1",
  69. "connect": "^3.7.0",
  70. "cross-env": "^7.0.3",
  71. "deepmerge": "^4.2.2",
  72. "del": "^6.0.0",
  73. "del-cli": "^4.0.0",
  74. "eslint": "^8.6.0",
  75. "eslint-config-prettier": "^8.3.0",
  76. "eslint-plugin-import": "^2.25.4",
  77. "execa": "^5.1.1",
  78. "express": "^4.17.1",
  79. "file-loader": "^6.2.0",
  80. "husky": "^7.0.0",
  81. "jest": "^28.1.0",
  82. "lint-staged": "^12.1.7",
  83. "npm-run-all": "^4.1.5",
  84. "prettier": "^2.5.0",
  85. "standard-version": "^9.3.0",
  86. "strip-ansi": "^6.0.0",
  87. "supertest": "^6.1.3",
  88. "typescript": "4.5.5",
  89. "webpack": "^5.68.0"
  90. },
  91. "keywords": [
  92. "webpack",
  93. "middleware",
  94. "development"
  95. ]
  96. }