package.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "webpack-dev-middleware",
  3. "version": "5.3.1",
  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.1",
  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": "^16.1.0",
  61. "@commitlint/config-conventional": "^16.0.0",
  62. "@types/connect": "^3.4.35",
  63. "@types/express": "^4.17.13",
  64. "@types/mime-types": "^2.1.1",
  65. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  66. "babel-jest": "^27.4.6",
  67. "chokidar": "^3.5.1",
  68. "connect": "^3.7.0",
  69. "cross-env": "^7.0.3",
  70. "deepmerge": "^4.2.2",
  71. "del": "^6.0.0",
  72. "del-cli": "^4.0.0",
  73. "eslint": "^8.6.0",
  74. "eslint-config-prettier": "^8.3.0",
  75. "eslint-plugin-import": "^2.25.4",
  76. "execa": "^5.1.1",
  77. "express": "^4.17.1",
  78. "file-loader": "^6.2.0",
  79. "husky": "^7.0.0",
  80. "jest": "^27.4.7",
  81. "lint-staged": "^12.1.7",
  82. "npm-run-all": "^4.1.5",
  83. "prettier": "^2.5.0",
  84. "standard-version": "^9.3.0",
  85. "strip-ansi": "^6.0.0",
  86. "supertest": "^6.1.3",
  87. "webpack": "^5.64.4"
  88. },
  89. "keywords": [
  90. "webpack",
  91. "middleware",
  92. "development"
  93. ]
  94. }