package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "watchpack",
  3. "version": "2.5.1",
  4. "description": "",
  5. "homepage": "https://github.com/webpack/watchpack",
  6. "bugs": {
  7. "url": "https://github.com/webpack/watchpack/issues"
  8. },
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/webpack/watchpack.git"
  12. },
  13. "license": "MIT",
  14. "author": "Tobias Koppers @sokra",
  15. "main": "lib/index.js",
  16. "types": "types/index.js",
  17. "directories": {
  18. "test": "test"
  19. },
  20. "files": [
  21. "lib/",
  22. "types/"
  23. ],
  24. "scripts": {
  25. "lint": "npm run lint:code && npm run lint:types && npm run lint:types-test && npm run lint:declarations && npm run fmt:check",
  26. "lint:code": "eslint --cache .",
  27. "lint:types": "tsc",
  28. "lint:types-test": "tsc -p tsconfig.types.test.json",
  29. "lint:declarations": "npm run fix:declarations && git diff --exit-code ./types",
  30. "fix": "npm run fix:code && npm run fix:declarations",
  31. "fix:code": "npm run lint:code -- --fix",
  32. "fix:declarations": "tsc --noEmit false --declaration --emitDeclarationOnly --outDir types && npm run fmt -- ./types",
  33. "fmt": "npm run fmt:base -- --log-level warn --write",
  34. "fmt:check": "npm run fmt:base -- --check",
  35. "fmt:base": "prettier --cache --ignore-unknown .",
  36. "pretest": "npm run lint",
  37. "test": "npm run test:coverage",
  38. "test:base": "jest --runInBand",
  39. "test:only": "npm run test:base",
  40. "test:watch": "npm run test:base -- --watch",
  41. "test:coverage": "npm run test:base -- --collectCoverageFrom=\"lib/**/*.js\" --coverage"
  42. },
  43. "dependencies": {
  44. "glob-to-regexp": "^0.4.1",
  45. "graceful-fs": "^4.1.2"
  46. },
  47. "devDependencies": {
  48. "@eslint/js": "^9.28.0",
  49. "@eslint/markdown": "^7.5.1",
  50. "@stylistic/eslint-plugin": "^5.6.1",
  51. "@types/glob-to-regexp": "^0.4.4",
  52. "@types/graceful-fs": "^4.1.9",
  53. "@types/jest": "^27.5.1",
  54. "@types/node": "^24.10.4",
  55. "eslint": "^9.39.2",
  56. "eslint-config-prettier": "^10.1.8",
  57. "eslint-config-webpack": "^4.7.3",
  58. "eslint-plugin-import": "^2.32.0",
  59. "eslint-plugin-jest": "^29.5.0",
  60. "eslint-plugin-jsdoc": "^61.5.0",
  61. "eslint-plugin-n": "^17.23.1",
  62. "eslint-plugin-prettier": "^5.5.4",
  63. "eslint-plugin-unicorn": "^62.0.0",
  64. "globals": "^16.5.0",
  65. "jest": "^27.5.1",
  66. "prettier": "^3.7.4",
  67. "rimraf": "^2.6.2",
  68. "typescript": "^5.9.3",
  69. "write-file-atomic": "^3.0.1"
  70. },
  71. "engines": {
  72. "node": ">=10.13.0"
  73. }
  74. }