package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
  3. "name": "minimatch",
  4. "description": "a glob matcher in javascript",
  5. "version": "10.2.5",
  6. "repository": {
  7. "type": "git",
  8. "url": "git@github.com:isaacs/minimatch"
  9. },
  10. "main": "./dist/commonjs/index.js",
  11. "types": "./dist/commonjs/index.d.ts",
  12. "exports": {
  13. "./package.json": "./package.json",
  14. ".": {
  15. "import": {
  16. "types": "./dist/esm/index.d.ts",
  17. "default": "./dist/esm/index.js"
  18. },
  19. "require": {
  20. "types": "./dist/commonjs/index.d.ts",
  21. "default": "./dist/commonjs/index.js"
  22. }
  23. }
  24. },
  25. "files": [
  26. "dist"
  27. ],
  28. "scripts": {
  29. "preversion": "npm test",
  30. "postversion": "npm publish",
  31. "prepublishOnly": "git push origin --follow-tags",
  32. "prepare": "tshy",
  33. "pretest": "npm run prepare",
  34. "presnap": "npm run prepare",
  35. "test": "tap",
  36. "snap": "tap",
  37. "format": "prettier --write .",
  38. "benchmark": "node benchmark/index.js",
  39. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts",
  40. "lint": "oxlint --fix src test",
  41. "postsnap": "npm run lint",
  42. "postlint": "npm run format"
  43. },
  44. "engines": {
  45. "node": "18 || 20 || >=22"
  46. },
  47. "devDependencies": {
  48. "@types/node": "^25.5.0",
  49. "mkdirp": "^3.0.1",
  50. "oxlint": "^1.57.0",
  51. "oxlint-tsgolint": "^0.18.1",
  52. "prettier": "^3.8.1",
  53. "tap": "^21.6.2",
  54. "tshy": "^4.0.0",
  55. "typedoc": "^0.28.18"
  56. },
  57. "funding": {
  58. "url": "https://github.com/sponsors/isaacs"
  59. },
  60. "license": "BlueOak-1.0.0",
  61. "tshy": {
  62. "exports": {
  63. "./package.json": "./package.json",
  64. ".": "./src/index.ts"
  65. },
  66. "selfLink": false
  67. },
  68. "type": "module",
  69. "module": "./dist/esm/index.js",
  70. "dependencies": {
  71. "brace-expansion": "^5.0.5"
  72. }
  73. }