package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "path-scurry",
  3. "version": "1.11.1",
  4. "description": "walk paths fast and efficiently",
  5. "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)",
  6. "main": "./dist/commonjs/index.js",
  7. "type": "module",
  8. "exports": {
  9. "./package.json": "./package.json",
  10. ".": {
  11. "import": {
  12. "types": "./dist/esm/index.d.ts",
  13. "default": "./dist/esm/index.js"
  14. },
  15. "require": {
  16. "types": "./dist/commonjs/index.d.ts",
  17. "default": "./dist/commonjs/index.js"
  18. }
  19. }
  20. },
  21. "files": [
  22. "dist"
  23. ],
  24. "license": "BlueOak-1.0.0",
  25. "scripts": {
  26. "preversion": "npm test",
  27. "postversion": "npm publish",
  28. "prepublishOnly": "git push origin --follow-tags",
  29. "prepare": "tshy",
  30. "pretest": "npm run prepare",
  31. "presnap": "npm run prepare",
  32. "test": "tap",
  33. "snap": "tap",
  34. "format": "prettier --write . --loglevel warn",
  35. "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts",
  36. "bench": "bash ./scripts/bench.sh"
  37. },
  38. "prettier": {
  39. "experimentalTernaries": true,
  40. "semi": false,
  41. "printWidth": 75,
  42. "tabWidth": 2,
  43. "useTabs": false,
  44. "singleQuote": true,
  45. "jsxSingleQuote": false,
  46. "bracketSameLine": true,
  47. "arrowParens": "avoid",
  48. "endOfLine": "lf"
  49. },
  50. "devDependencies": {
  51. "@nodelib/fs.walk": "^1.2.8",
  52. "@types/node": "^20.12.11",
  53. "c8": "^7.12.0",
  54. "eslint-config-prettier": "^8.6.0",
  55. "mkdirp": "^3.0.0",
  56. "prettier": "^3.2.5",
  57. "rimraf": "^5.0.1",
  58. "tap": "^18.7.2",
  59. "ts-node": "^10.9.2",
  60. "tshy": "^1.14.0",
  61. "typedoc": "^0.25.12",
  62. "typescript": "^5.4.3"
  63. },
  64. "tap": {
  65. "typecheck": true
  66. },
  67. "engines": {
  68. "node": ">=16 || 14 >=14.18"
  69. },
  70. "funding": {
  71. "url": "https://github.com/sponsors/isaacs"
  72. },
  73. "repository": {
  74. "type": "git",
  75. "url": "git+https://github.com/isaacs/path-scurry"
  76. },
  77. "dependencies": {
  78. "lru-cache": "^10.2.0",
  79. "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
  80. },
  81. "tshy": {
  82. "selfLink": false,
  83. "exports": {
  84. "./package.json": "./package.json",
  85. ".": "./src/index.ts"
  86. }
  87. },
  88. "types": "./dist/commonjs/index.d.ts"
  89. }