package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "watchpack",
  3. "version": "2.5.2",
  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 --noEmit",
  28. "lint:types-test": "tsc -p tsconfig.types.test.json --noEmit",
  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 && 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. "benchmark": "node --max-old-space-size=4096 --hash-seed=1 --random-seed=1 --no-opt --predictable --predictable-gc-schedule --interpreted-frames-native-stack --allow-natives-syntax --expose-gc --no-concurrent-sweeping ./benchmark/run.mjs",
  43. "version": "changeset version",
  44. "release": "changeset publish"
  45. },
  46. "dependencies": {
  47. "graceful-fs": "^4.1.2"
  48. },
  49. "devDependencies": {
  50. "@changesets/cli": "^2.30.0",
  51. "@changesets/get-github-info": "^0.8.0",
  52. "@codspeed/core": "^5.2.0",
  53. "@types/glob-to-regexp": "^0.4.4",
  54. "@types/graceful-fs": "^4.1.9",
  55. "@types/jest": "^30.0.0",
  56. "@types/node": "^24.10.4",
  57. "eslint": "^9.39.2",
  58. "eslint-config-webpack": "^4.9.3",
  59. "jest": "^30.3.0",
  60. "prettier": "^3.7.4",
  61. "tinybench": "^6.0.0",
  62. "typescript": "^6.0.2",
  63. "write-file-atomic": "^8.0.0"
  64. },
  65. "engines": {
  66. "node": ">=10.13.0"
  67. }
  68. }