package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me/)",
  3. "name": "glob",
  4. "description": "the most correct and second fastest glob implementation in JavaScript",
  5. "version": "11.0.0",
  6. "type": "module",
  7. "tshy": {
  8. "main": true,
  9. "exports": {
  10. "./package.json": "./package.json",
  11. ".": "./src/index.ts"
  12. }
  13. },
  14. "bin": "./dist/esm/bin.mjs",
  15. "main": "./dist/commonjs/index.js",
  16. "types": "./dist/commonjs/index.d.ts",
  17. "exports": {
  18. "./package.json": "./package.json",
  19. ".": {
  20. "import": {
  21. "types": "./dist/esm/index.d.ts",
  22. "default": "./dist/esm/index.js"
  23. },
  24. "require": {
  25. "types": "./dist/commonjs/index.d.ts",
  26. "default": "./dist/commonjs/index.js"
  27. }
  28. }
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git://github.com/isaacs/node-glob.git"
  33. },
  34. "files": [
  35. "dist"
  36. ],
  37. "scripts": {
  38. "preversion": "npm test",
  39. "postversion": "npm publish",
  40. "prepublishOnly": "git push origin --follow-tags",
  41. "prepare": "tshy",
  42. "pretest": "npm run prepare",
  43. "presnap": "npm run prepare",
  44. "test": "tap",
  45. "snap": "tap",
  46. "format": "prettier --write . --log-level warn",
  47. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts",
  48. "prepublish": "npm run benchclean",
  49. "profclean": "rm -f v8.log profile.txt",
  50. "test-regen": "npm run profclean && TEST_REGEN=1 node --no-warnings --loader ts-node/esm test/00-setup.ts",
  51. "prebench": "npm run prepare",
  52. "bench": "bash benchmark.sh",
  53. "preprof": "npm run prepare",
  54. "prof": "bash prof.sh",
  55. "benchclean": "node benchclean.cjs"
  56. },
  57. "prettier": {
  58. "experimentalTernaries": true,
  59. "semi": false,
  60. "printWidth": 75,
  61. "tabWidth": 2,
  62. "useTabs": false,
  63. "singleQuote": true,
  64. "jsxSingleQuote": false,
  65. "bracketSameLine": true,
  66. "arrowParens": "avoid",
  67. "endOfLine": "lf"
  68. },
  69. "dependencies": {
  70. "foreground-child": "^3.1.0",
  71. "jackspeak": "^4.0.1",
  72. "minimatch": "^10.0.0",
  73. "minipass": "^7.1.2",
  74. "package-json-from-dist": "^1.0.0",
  75. "path-scurry": "^2.0.0"
  76. },
  77. "devDependencies": {
  78. "@types/node": "^20.11.30",
  79. "memfs": "^4.9.3",
  80. "mkdirp": "^3.0.1",
  81. "prettier": "^3.2.5",
  82. "rimraf": "^5.0.7",
  83. "sync-content": "^1.0.2",
  84. "tap": "^20.0.3",
  85. "tshy": "^2.0.1",
  86. "typedoc": "^0.26.3"
  87. },
  88. "tap": {
  89. "before": "test/00-setup.ts"
  90. },
  91. "license": "ISC",
  92. "funding": {
  93. "url": "https://github.com/sponsors/isaacs"
  94. },
  95. "engines": {
  96. "node": "20 || >=22"
  97. },
  98. "module": "./dist/esm/index.js"
  99. }