package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@radix-ui/react-presence",
  3. "version": "1.0.1",
  4. "license": "MIT",
  5. "exports": {
  6. ".": {
  7. "import": {
  8. "types": "./dist/index.d.mts",
  9. "default": "./dist/index.mjs"
  10. },
  11. "require": {
  12. "types": "./dist/index.d.ts",
  13. "default": "./dist/index.js"
  14. }
  15. }
  16. },
  17. "source": "./src/index.ts",
  18. "main": "./dist/index.js",
  19. "module": "./dist/index.mjs",
  20. "types": "./dist/index.d.ts",
  21. "files": [
  22. "dist",
  23. "README.md"
  24. ],
  25. "sideEffects": false,
  26. "scripts": {
  27. "clean": "rm -rf dist",
  28. "version": "yarn version"
  29. },
  30. "dependencies": {
  31. "@babel/runtime": "^7.13.10",
  32. "@radix-ui/react-compose-refs": "1.0.1",
  33. "@radix-ui/react-use-layout-effect": "1.0.1"
  34. },
  35. "peerDependencies": {
  36. "@types/react": "*",
  37. "@types/react-dom": "*",
  38. "react": "^16.8 || ^17.0 || ^18.0",
  39. "react-dom": "^16.8 || ^17.0 || ^18.0"
  40. },
  41. "peerDependenciesMeta": {
  42. "@types/react": {
  43. "optional": true
  44. },
  45. "@types/react-dom": {
  46. "optional": true
  47. }
  48. },
  49. "homepage": "https://radix-ui.com/primitives",
  50. "repository": {
  51. "type": "git",
  52. "url": "git+https://github.com/radix-ui/primitives.git"
  53. },
  54. "bugs": {
  55. "url": "https://github.com/radix-ui/primitives/issues"
  56. }
  57. }