package.json 951 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "resolve-pkg-maps",
  3. "version": "1.0.0",
  4. "description": "Resolve package.json exports & imports maps",
  5. "keywords": [
  6. "node.js",
  7. "package.json",
  8. "exports",
  9. "imports"
  10. ],
  11. "license": "MIT",
  12. "repository": "privatenumber/resolve-pkg-maps",
  13. "funding": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1",
  14. "author": {
  15. "name": "Hiroki Osame",
  16. "email": "hiroki.osame@gmail.com"
  17. },
  18. "type": "module",
  19. "files": [
  20. "dist"
  21. ],
  22. "main": "./dist/index.cjs",
  23. "module": "./dist/index.mjs",
  24. "types": "./dist/index.d.cts",
  25. "exports": {
  26. "require": {
  27. "types": "./dist/index.d.cts",
  28. "default": "./dist/index.cjs"
  29. },
  30. "import": {
  31. "types": "./dist/index.d.mts",
  32. "default": "./dist/index.mjs"
  33. }
  34. },
  35. "imports": {
  36. "#resolve-pkg-maps": {
  37. "types": "./src/index.ts",
  38. "development": "./src/index.ts",
  39. "default": "./dist/index.mjs"
  40. }
  41. }
  42. }