package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@radix-ui/react-dismissable-layer",
  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-primitive": "1.0.3",
  35. "@radix-ui/react-use-callback-ref": "1.0.1",
  36. "@radix-ui/react-use-escape-keydown": "1.0.3"
  37. },
  38. "devDependencies": {
  39. "react-remove-scroll": "2.5.5"
  40. },
  41. "peerDependencies": {
  42. "@types/react": "*",
  43. "@types/react-dom": "*",
  44. "react": "^16.8 || ^17.0 || ^18.0",
  45. "react-dom": "^16.8 || ^17.0 || ^18.0"
  46. },
  47. "peerDependenciesMeta": {
  48. "@types/react": {
  49. "optional": true
  50. },
  51. "@types/react-dom": {
  52. "optional": true
  53. }
  54. },
  55. "homepage": "https://radix-ui.com/primitives",
  56. "repository": {
  57. "type": "git",
  58. "url": "git+https://github.com/radix-ui/primitives.git"
  59. },
  60. "bugs": {
  61. "url": "https://github.com/radix-ui/primitives/issues"
  62. }
  63. }