package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "@radix-ui/react-use-controllable-state",
  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-use-callback-ref": "1.0.1"
  33. },
  34. "peerDependencies": {
  35. "@types/react": "*",
  36. "react": "^16.8 || ^17.0 || ^18.0"
  37. },
  38. "peerDependenciesMeta": {
  39. "@types/react": {
  40. "optional": true
  41. }
  42. },
  43. "homepage": "https://radix-ui.com/primitives",
  44. "repository": {
  45. "type": "git",
  46. "url": "git+https://github.com/radix-ui/primitives.git"
  47. },
  48. "bugs": {
  49. "url": "https://github.com/radix-ui/primitives/issues"
  50. }
  51. }