package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "@floating-ui/react-dom",
  3. "version": "2.0.8",
  4. "description": "Floating UI for React DOM",
  5. "publishConfig": {
  6. "access": "public"
  7. },
  8. "main": "./dist/floating-ui.react-dom.umd.js",
  9. "module": "./dist/floating-ui.react-dom.esm.js",
  10. "unpkg": "./dist/floating-ui.react-dom.umd.min.js",
  11. "types": "./dist/floating-ui.react-dom.d.ts",
  12. "exports": {
  13. "./package.json": "./package.json",
  14. ".": {
  15. "import": {
  16. "types": "./dist/floating-ui.react-dom.d.mts",
  17. "default": "./dist/floating-ui.react-dom.mjs"
  18. },
  19. "types": "./dist/floating-ui.react-dom.d.ts",
  20. "module": "./dist/floating-ui.react-dom.esm.js",
  21. "default": "./dist/floating-ui.react-dom.umd.js"
  22. }
  23. },
  24. "sideEffects": false,
  25. "files": [
  26. "dist"
  27. ],
  28. "author": "atomiks",
  29. "license": "MIT",
  30. "bugs": "https://github.com/floating-ui/floating-ui",
  31. "repository": {
  32. "type": "git",
  33. "url": "https://github.com/floating-ui/floating-ui.git",
  34. "directory": "packages/react-dom"
  35. },
  36. "homepage": "https://floating-ui.com/docs/react-dom",
  37. "keywords": [
  38. "tooltip",
  39. "popover",
  40. "dropdown",
  41. "menu",
  42. "popup",
  43. "positioning",
  44. "react",
  45. "react-dom"
  46. ],
  47. "peerDependencies": {
  48. "react": ">=16.8.0",
  49. "react-dom": ">=16.8.0"
  50. },
  51. "dependencies": {
  52. "@floating-ui/dom": "^1.6.1"
  53. },
  54. "devDependencies": {
  55. "@babel/preset-react": "^7.23.3",
  56. "@testing-library/jest-dom": "^6.1.6",
  57. "@testing-library/react": "^13.4.0",
  58. "@types/react": "^18.2.46",
  59. "@types/react-dom": "^18.2.18",
  60. "@vitejs/plugin-react": "^4.2.1",
  61. "react": "^18.2.0",
  62. "react-dom": "^18.2.0",
  63. "use-isomorphic-layout-effect": "^1.1.2",
  64. "config": "0.0.0"
  65. },
  66. "scripts": {
  67. "lint": "biome lint .",
  68. "clean": "rimraf dist out-tsc",
  69. "test": "vitest run",
  70. "test:watch": "vitest watch",
  71. "build": "rollup -c",
  72. "build:api": "build-api --tsc tsconfig.lib.json",
  73. "publint": "publint",
  74. "typecheck": "tsc -b"
  75. }
  76. }