package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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": "9.0.9",
  6. "repository": {
  7. "type": "git",
  8. "url": "git://github.com/isaacs/minimatch.git"
  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 . --loglevel warn",
  38. "benchmark": "node benchmark/index.js",
  39. "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
  40. },
  41. "prettier": {
  42. "semi": false,
  43. "printWidth": 80,
  44. "tabWidth": 2,
  45. "useTabs": false,
  46. "singleQuote": true,
  47. "jsxSingleQuote": false,
  48. "bracketSameLine": true,
  49. "arrowParens": "avoid",
  50. "endOfLine": "lf"
  51. },
  52. "engines": {
  53. "node": ">=16 || 14 >=14.17"
  54. },
  55. "dependencies": {
  56. "brace-expansion": "^2.0.2"
  57. },
  58. "devDependencies": {
  59. "@types/brace-expansion": "^1.1.2",
  60. "@types/node": "^25.3.0",
  61. "mkdirp": "^3.0.1",
  62. "prettier": "^3.8.1",
  63. "tap": "^21.6.1",
  64. "tshy": "^3.3.2",
  65. "typescript": "^5.5.3"
  66. },
  67. "funding": {
  68. "url": "https://github.com/sponsors/isaacs"
  69. },
  70. "license": "ISC",
  71. "tshy": {
  72. "exports": {
  73. "./package.json": "./package.json",
  74. ".": "./src/index.ts"
  75. }
  76. },
  77. "type": "module",
  78. "publishConfig": {
  79. "tag": "legacy-v9"
  80. },
  81. "module": "./dist/esm/index.js"
  82. }