| { |
| "name": "@floating-ui/react-dom", |
| "version": "2.1.2", |
| "description": "Floating UI for React DOM", |
| "publishConfig": { |
| "access": "public" |
| }, |
| "main": "./dist/floating-ui.react-dom.umd.js", |
| "module": "./dist/floating-ui.react-dom.esm.js", |
| "unpkg": "./dist/floating-ui.react-dom.umd.min.js", |
| "types": "./dist/floating-ui.react-dom.d.ts", |
| "exports": { |
| "./package.json": "./package.json", |
| ".": { |
| "import": { |
| "types": "./dist/floating-ui.react-dom.d.mts", |
| "default": "./dist/floating-ui.react-dom.mjs" |
| }, |
| "types": "./dist/floating-ui.react-dom.d.ts", |
| "module": "./dist/floating-ui.react-dom.esm.js", |
| "default": "./dist/floating-ui.react-dom.umd.js" |
| } |
| }, |
| "sideEffects": false, |
| "files": [ |
| "dist" |
| ], |
| "author": "atomiks", |
| "license": "MIT", |
| "bugs": "https://github.com/floating-ui/floating-ui", |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/floating-ui/floating-ui.git", |
| "directory": "packages/react-dom" |
| }, |
| "homepage": "https://floating-ui.com/docs/react-dom", |
| "keywords": [ |
| "tooltip", |
| "popover", |
| "dropdown", |
| "menu", |
| "popup", |
| "positioning", |
| "react", |
| "react-dom" |
| ], |
| "peerDependencies": { |
| "react": ">=16.8.0", |
| "react-dom": ">=16.8.0" |
| }, |
| "dependencies": { |
| "@floating-ui/dom": "^1.0.0" |
| }, |
| "devDependencies": { |
| "@babel/preset-react": "^7.23.3", |
| "@testing-library/jest-dom": "^6.1.6", |
| "@testing-library/react": "^13.4.0", |
| "@types/react": "^18.2.46", |
| "@types/react-dom": "^18.2.18", |
| "@vitejs/plugin-react": "^4.2.1", |
| "react": "^18.2.0", |
| "react-dom": "^18.2.0", |
| "use-isomorphic-layout-effect": "^1.1.2", |
| "config": "0.0.0" |
| }, |
| "scripts": { |
| "lint": "eslint .", |
| "format": "prettier --write .", |
| "clean": "rimraf dist out-tsc", |
| "test": "vitest run", |
| "test:watch": "vitest watch", |
| "build": "rollup -c", |
| "build:api": "build-api --tsc tsconfig.lib.json", |
| "publint": "publint", |
| "typecheck": "tsc -b" |
| } |
| } |