package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "path-scurry",
  3. "version": "1.10.1",
  4. "description": "walk paths fast and efficiently",
  5. "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)",
  6. "main": "./dist/cjs/index.js",
  7. "module": "./dist/mjs/index.js",
  8. "exports": {
  9. ".": {
  10. "import": {
  11. "types": "./dist/mjs/index.d.ts",
  12. "default": "./dist/mjs/index.js"
  13. },
  14. "require": {
  15. "types": "./dist/cjs/index.d.ts",
  16. "default": "./dist/cjs/index.js"
  17. }
  18. }
  19. },
  20. "files": [
  21. "dist"
  22. ],
  23. "license": "BlueOak-1.0.0",
  24. "scripts": {
  25. "preversion": "npm test",
  26. "postversion": "npm publish",
  27. "prepublishOnly": "git push origin --follow-tags",
  28. "preprepare": "rm -rf dist",
  29. "prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json",
  30. "postprepare": "bash ./scripts/fixup.sh",
  31. "pretest": "npm run prepare",
  32. "presnap": "npm run prepare",
  33. "test": "c8 tap",
  34. "snap": "c8 tap",
  35. "format": "prettier --write . --loglevel warn",
  36. "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts",
  37. "bench": "bash ./scripts/bench.sh"
  38. },
  39. "prettier": {
  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. "tap": {
  51. "coverage": false,
  52. "node-arg": [
  53. "--no-warnings",
  54. "--loader",
  55. "ts-node/esm"
  56. ],
  57. "ts": false
  58. },
  59. "devDependencies": {
  60. "@nodelib/fs.walk": "^1.2.8",
  61. "@types/node": "^20.1.4",
  62. "@types/tap": "^15.0.7",
  63. "c8": "^7.12.0",
  64. "eslint-config-prettier": "^8.6.0",
  65. "mkdirp": "^3.0.0",
  66. "prettier": "^2.8.3",
  67. "rimraf": "^5.0.1",
  68. "tap": "^16.3.4",
  69. "ts-node": "^10.9.1",
  70. "typedoc": "^0.23.24",
  71. "typescript": "^5.0.4"
  72. },
  73. "engines": {
  74. "node": ">=16 || 14 >=14.17"
  75. },
  76. "funding": {
  77. "url": "https://github.com/sponsors/isaacs"
  78. },
  79. "repository": {
  80. "type": "git",
  81. "url": "git+https://github.com/isaacs/path-scurry"
  82. },
  83. "dependencies": {
  84. "lru-cache": "^9.1.1 || ^10.0.0",
  85. "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
  86. }
  87. }