package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "@radix-ui/react-collection",
  3. "version": "1.0.3",
  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-context": "1.0.1",
  34. "@radix-ui/react-primitive": "1.0.3",
  35. "@radix-ui/react-slot": "1.0.2"
  36. },
  37. "peerDependencies": {
  38. "@types/react": "*",
  39. "@types/react-dom": "*",
  40. "react": "^16.8 || ^17.0 || ^18.0",
  41. "react-dom": "^16.8 || ^17.0 || ^18.0"
  42. },
  43. "peerDependenciesMeta": {
  44. "@types/react": {
  45. "optional": true
  46. },
  47. "@types/react-dom": {
  48. "optional": true
  49. }
  50. },
  51. "homepage": "https://radix-ui.com/primitives",
  52. "repository": {
  53. "type": "git",
  54. "url": "git+https://github.com/radix-ui/primitives.git"
  55. },
  56. "bugs": {
  57. "url": "https://github.com/radix-ui/primitives/issues"
  58. }
  59. }