package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "@radix-ui/react-dialog",
  3. "version": "1.0.5",
  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/primitive": "1.0.1",
  33. "@radix-ui/react-compose-refs": "1.0.1",
  34. "@radix-ui/react-context": "1.0.1",
  35. "@radix-ui/react-dismissable-layer": "1.0.5",
  36. "@radix-ui/react-focus-guards": "1.0.1",
  37. "@radix-ui/react-focus-scope": "1.0.4",
  38. "@radix-ui/react-id": "1.0.1",
  39. "@radix-ui/react-portal": "1.0.4",
  40. "@radix-ui/react-presence": "1.0.1",
  41. "@radix-ui/react-primitive": "1.0.3",
  42. "@radix-ui/react-slot": "1.0.2",
  43. "@radix-ui/react-use-controllable-state": "1.0.1",
  44. "aria-hidden": "^1.1.1",
  45. "react-remove-scroll": "2.5.5"
  46. },
  47. "peerDependencies": {
  48. "@types/react": "*",
  49. "@types/react-dom": "*",
  50. "react": "^16.8 || ^17.0 || ^18.0",
  51. "react-dom": "^16.8 || ^17.0 || ^18.0"
  52. },
  53. "peerDependenciesMeta": {
  54. "@types/react": {
  55. "optional": true
  56. },
  57. "@types/react-dom": {
  58. "optional": true
  59. }
  60. },
  61. "homepage": "https://radix-ui.com/primitives",
  62. "repository": {
  63. "type": "git",
  64. "url": "git+https://github.com/radix-ui/primitives.git"
  65. },
  66. "bugs": {
  67. "url": "https://github.com/radix-ui/primitives/issues"
  68. }
  69. }