@liveblocks/react
Version:
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.
119 lines (118 loc) • 3.34 kB
JSON
{
"name": "@liveblocks/react",
"version": "3.11.0",
"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",
"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",
"test": "NODE_OPTIONS=\"--no-deprecation\" jest --silent --verbose --color=always",
"test:types": "ls test-d/* | xargs -n1 tsd --files",
"test:watch": "NODE_OPTIONS=\"--no-deprecation\" jest --silent --verbose --color=always --watch",
"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": "3.11.0",
"@liveblocks/core": "3.11.0"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
"react": "^18 || ^19 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"devDependencies": {
"@liveblocks/eslint-config": "*",
"@liveblocks/jest-config": "*",
"@liveblocks/query-parser": "^0.1.1",
"@testing-library/jest-dom": "6.4.6",
"@testing-library/react": "14.1.2",
"date-fns": "^3.6.0",
"eslint-plugin-react-hooks": "^4.6.2",
"itertools": "^2.3.2",
"msw": "^1.3.5",
"react-error-boundary": "^4.0.13"
},
"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"
]
}