package.json 2.5 KB

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