package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "escalade",
  3. "version": "3.2.0",
  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. "import": {
  19. "types": "./index.d.mts",
  20. "default": "./dist/index.mjs"
  21. },
  22. "require": {
  23. "types": "./index.d.ts",
  24. "default": "./dist/index.js"
  25. }
  26. },
  27. "./dist/index.js"
  28. ],
  29. "./sync": [
  30. {
  31. "import": {
  32. "types": "./sync/index.d.mts",
  33. "default": "./sync/index.mjs"
  34. },
  35. "require": {
  36. "types": "./sync/index.d.ts",
  37. "default": "./sync/index.js"
  38. }
  39. },
  40. "./sync/index.js"
  41. ]
  42. },
  43. "files": [
  44. "*.d.mts",
  45. "*.d.ts",
  46. "dist",
  47. "sync"
  48. ],
  49. "modes": {
  50. "sync": "src/sync.js",
  51. "default": "src/async.js"
  52. },
  53. "engines": {
  54. "node": ">=6"
  55. },
  56. "scripts": {
  57. "build": "bundt",
  58. "pretest": "npm run build",
  59. "test": "uvu -r esm test -i fixtures"
  60. },
  61. "keywords": [
  62. "find",
  63. "parent",
  64. "parents",
  65. "directory",
  66. "search",
  67. "walk"
  68. ],
  69. "devDependencies": {
  70. "bundt": "1.1.1",
  71. "esm": "3.2.25",
  72. "uvu": "0.3.3"
  73. }
  74. }