package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "escalade",
  3. "version": "3.1.2",
  4. "repository": "lukeed/escalade",
  5. "description": "A tiny (183B to 210B) and fast utility to ascend parent directories",
  6. "module": "dist/index.mjs",
  7. "main": "dist/index.js",
  8. "types": "index.d.ts",
  9. "license": "MIT",
  10. "author": {
  11. "name": "Luke Edwards",
  12. "email": "luke.edwards05@gmail.com",
  13. "url": "https://lukeed.com"
  14. },
  15. "exports": {
  16. ".": [
  17. {
  18. "types": "./index.d.ts",
  19. "import": "./dist/index.mjs",
  20. "require": "./dist/index.js"
  21. },
  22. "./dist/index.js"
  23. ],
  24. "./sync": [
  25. {
  26. "types": "./sync/index.d.ts",
  27. "import": "./sync/index.mjs",
  28. "require": "./sync/index.js"
  29. },
  30. "./sync/index.js"
  31. ]
  32. },
  33. "files": [
  34. "*.d.ts",
  35. "dist",
  36. "sync"
  37. ],
  38. "modes": {
  39. "sync": "src/sync.js",
  40. "default": "src/async.js"
  41. },
  42. "engines": {
  43. "node": ">=6"
  44. },
  45. "scripts": {
  46. "build": "bundt",
  47. "pretest": "npm run build",
  48. "test": "uvu -r esm test -i fixtures"
  49. },
  50. "keywords": [
  51. "find",
  52. "parent",
  53. "parents",
  54. "directory",
  55. "search",
  56. "walk"
  57. ],
  58. "devDependencies": {
  59. "bundt": "1.1.1",
  60. "esm": "3.2.25",
  61. "uvu": "0.3.3"
  62. }
  63. }