package.json 1.3 KB

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