UNPKG

react-floater

Version:
128 lines (127 loc) 3.31 kB
{ "name": "react-floater", "version": "0.10.1", "description": "Floaters everywhere!", "author": "Gil Barbara <gilbarbara@gmail.com>", "keywords": [ "react", "react-component", "component", "tooltip", "modal", "popup", "alert", "notification" ], "repository": { "type": "git", "url": "git+https://github.com/gilbarbara/react-floater.git" }, "bugs": { "url": "https://github.com/gilbarbara/react-floater/issues" }, "homepage": "https://github.com/gilbarbara/react-floater#readme", "license": "MIT", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "files": [ "dist", "src" ], "types": "dist/index.d.cts", "sideEffects": false, "peerDependencies": { "react": "16.8 - 19", "react-dom": "16.8 - 19" }, "dependencies": { "@popperjs/core": "^2.11.8", "deepmerge-ts": "^7.1.5", "is-lite": "^2.0.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", "@gilbarbara/eslint-config": "^1.0.4", "@gilbarbara/node-helpers": "^0.1.0", "@gilbarbara/prettier-config": "^1.0.0", "@gilbarbara/tsconfig": "^1.0.0", "@gilbarbara/types": "^0.2.2", "@size-limit/preset-small-lib": "^12.0.1", "@swc/core": "^1.15.18", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@types/node": "^24.12.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react-swc": "^4.3.0", "@vitest/coverage-v8": "^4.1.0", "del-cli": "^7.0.0", "disable-scroll": "^0.6.0", "eslint": "^9.39.2", "husky": "^9.1.7", "jest-extended": "^7.0.0", "jsdom": "^29.0.1", "prettier": "^3.8.1", "react": "^19.2.4", "react-dom": "^19.2.4", "react-use": "^17.6.0", "repo-tools": "^0.3.1", "size-limit": "^12.0.1", "tsdown": "^0.21.4", "tsx": "^4.21.0", "typescript": "^5.9.3", "vitest": "^4.1.0" }, "scripts": { "build": "tsdown && tsx scripts/fix-cjs.ts", "watch": "tsdown --watch", "clean": "del dist/*", "lint": "eslint --fix src test", "demo": "pnpm --dir demo dev", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest watch", "typecheck": "tsc -p test/tsconfig.json --noEmit", "typevalidation": "attw -P", "format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write", "validate": "pnpm lint && pnpm typecheck && pnpm test:coverage && pnpm build && pnpm size && pnpm typevalidation", "size": "size-limit", "prepare": "husky || true" }, "tsdown": { "clean": true, "entry": [ "src/index.tsx" ], "dts": true, "format": [ "cjs", "esm" ], "inlineOnly": false, "sourcemap": true, "target": "es2023" }, "prettier": "@gilbarbara/prettier-config", "size-limit": [ { "name": "commonjs", "path": "./dist/index.cjs", "limit": "20 kB" }, { "name": "esm", "path": "./dist/index.mjs", "limit": "20 kB" } ] }