package.json 2.0 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.5",
  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.1"
  57. },
  58. "devDependencies": {
  59. "@types/brace-expansion": "^1.1.0",
  60. "@types/node": "^18.15.11",
  61. "@types/tap": "^15.0.8",
  62. "eslint-config-prettier": "^8.6.0",
  63. "mkdirp": "1",
  64. "prettier": "^2.8.2",
  65. "tap": "^18.7.2",
  66. "ts-node": "^10.9.1",
  67. "tshy": "^1.12.0",
  68. "typedoc": "^0.23.21",
  69. "typescript": "^4.9.3"
  70. },
  71. "funding": {
  72. "url": "https://github.com/sponsors/isaacs"
  73. },
  74. "license": "ISC",
  75. "tshy": {
  76. "exports": {
  77. "./package.json": "./package.json",
  78. ".": "./src/index.ts"
  79. }
  80. },
  81. "type": "module"
  82. }