{ "name": "@liveblocks/react", "version": "3.25.2", "description": "A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.", "license": "Apache-2.0", "author": "Liveblocks Inc.", "type": "module", "main": "./dist/index.cjs", "types": "./dist/index.d.cts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "module": "./dist/index.js", "default": "./dist/index.cjs" } }, "./suspense": { "import": { "types": "./dist/suspense.d.ts", "default": "./dist/suspense.js" }, "require": { "types": "./dist/suspense.d.cts", "module": "./dist/suspense.js", "default": "./dist/suspense.cjs" } }, "./_private": { "import": { "types": "./dist/_private.d.ts", "default": "./dist/_private.js" }, "require": { "types": "./dist/_private.d.cts", "module": "./dist/_private.js", "default": "./dist/_private.cjs" } } }, "files": [ "dist/**", "suspense/**", "_private/**", "README.md" ], "scripts": { "dev": "tsup --watch", "build": "tsup", "start": "tsup --watch", "format": "(eslint --fix src/ || true) && prettier --write src/", "lint": "eslint src/", "lint:package": "publint --strict && attw --pack && bun scripts/check-exports.ts", "typecheck": "tsc --noEmit", "test": "vitest run", "test:ci": "vitest run --coverage", "test:types": "vitest run --config ./vitest.config.typecheck.ts", "test:watch": "vitest", "test:deps": "depcruise src --exclude __tests__", "showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg" }, "dependencies": { "@liveblocks/client": "workspace:*", "@liveblocks/core": "workspace:*" }, "peerDependencies": { "@types/react": "^18 || ^19", "@types/react-dom": "^18 || ^19", "react": "^18 || ^19 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "@types/react-dom": { "optional": true } }, "devDependencies": { "@liveblocks/eslint-config": "workspace:*", "@liveblocks/query-parser": "^0.1.1", "@liveblocks/vitest-config": "workspace:*", "@testing-library/jest-dom": "^6.8.0", "@testing-library/react": "^16.3.0", "date-fns": "^3.6.0", "eslint": "^9.39.4", "eslint-plugin-react-hooks": "^5.2.0", "itertools": "^2.7.1", "msw": "^2.10.4", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.1.2", "typescript": "^5.9.3", "vitest": "^4.1.4" }, "sideEffects": false, "bugs": { "url": "https://github.com/liveblocks/liveblocks/issues" }, "repository": { "type": "git", "url": "git+https://github.com/liveblocks/liveblocks.git", "directory": "packages/liveblocks-react" }, "homepage": "https://liveblocks.io", "keywords": [ "react", "liveblocks", "real-time", "toolkit", "multiplayer", "websockets", "collaboration", "collaborative", "presence", "crdts", "synchronize", "rooms", "documents", "conflict resolution" ] }