package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.0.1",
  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": "20 || >=22"
  54. },
  55. "dependencies": {
  56. "brace-expansion": "^2.0.1"
  57. },
  58. "devDependencies": {
  59. "@types/brace-expansion": "^1.1.2",
  60. "@types/node": "^20.14.10",
  61. "mkdirp": "^3.0.1",
  62. "prettier": "^3.3.2",
  63. "tap": "^20.0.3",
  64. "tshy": "^2.0.1",
  65. "typedoc": "^0.26.3",
  66. "typescript": "^5.5.3"
  67. },
  68. "funding": {
  69. "url": "https://github.com/sponsors/isaacs"
  70. },
  71. "license": "ISC",
  72. "tshy": {
  73. "exports": {
  74. "./package.json": "./package.json",
  75. ".": "./src/index.ts"
  76. }
  77. },
  78. "type": "module",
  79. "module": "./dist/esm/index.js"
  80. }