UNPKG

zustand-middleware-yjs

Version:
124 lines (123 loc) 3.06 kB
{ "name": "zustand-middleware-yjs", "description": "Zustand middleware for syncing state with Yjs.", "license": "MIT", "keywords": [ "yjs", "zustand", "state-management", "middleware", "peer-to-peer", "p2p", "distributed", "local-first", "offline-first", "crdt", "decentralized", "shared-editing", "realtime" ], "homepage": "https://github.com/joebobmiles/zustand-middleware-yjs", "repository": { "type": "git", "url": "https://github.com/joebobmiles/zustand-middleware-yjs" }, "bugs": { "url": "https://github.com/joebobmiles/zustand-middleware-yjs/issues" }, "author": { "name": "Joseph R Miles", "email": "joe@jrm.dev", "url": "https://jrm.dev" }, "main": "dist/yjs.cjs", "module": "dist/yjs.mjs", "types": "dist/index.d.ts", "files": [ "dist" ], "exports": { "require": "./dist/yjs.cjs", "import": "./dist/yjs.mjs" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "scripts": { "test": "jest", "test:watch": "jest --watch", "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand", "build": "rollup --config rollup.config.ts --configPlugin typescript", "prepare": "husky install" }, "dependencies": { "yjs": "^13.5.11", "zustand": "^4.3.7" }, "devDependencies": { "@commitlint/cli": "^12.1.4", "@commitlint/config-conventional": "^12.1.4", "@joebobmiles/eslint-config-typescript": "^1.3.0", "@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-typescript": "^8.2.1", "@semantic-release/git": "^10.0.1", "@testing-library/react-hooks": "^8.0.1", "@types/jest": "^29.5.0", "@types/ws": "^7.4.7", "eslint": "^7.30.0", "husky": "^7.0.1", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "react-test-renderer": "^17.0.2", "rollup": "^2.53.1", "semantic-release": "^21.0.1", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "tslib": "^2.3.0", "typescript": "^4.9.5", "ws": "^7.5.3", "y-websocket": "^1.3.16" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "eslintConfig": { "extends": "@joebobmiles/eslint-config-typescript", "parserOptions": { "tsconfigRootDir": ".", "project": [ "./tsconfig.lint.json" ] } }, "release": { "branches": [ "master", { "name": "staging", "channel": "latest", "prerelease": "rc" } ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/npm", "@semantic-release/github", [ "@semantic-release/git", { "assets": [ "package.json" ], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] }, "version": "1.3.1" }