UNPKG

valtio-yjs

Version:
95 lines (94 loc) 2.6 kB
{ "name": "valtio-yjs", "description": "valtio-yjs makes yjs state easy", "version": "0.6.4", "type": "module", "author": "Daishi Kato", "repository": { "type": "git", "url": "https://github.com/valtiojs/valtio-yjs.git" }, "source": "./src/index.ts", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" }, "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "sideEffects": false, "files": [ "src", "dist" ], "packageManager": "pnpm@9.4.0", "scripts": { "compile": "rm -rf dist && pnpm run '/^compile:.*/'", "compile:esm": "tsc -p tsconfig.esm.json", "compile:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json", "test": "pnpm run '/^test:.*/'", "test:format": "prettier -c .", "test:lint": "eslint .", "test:types": "tsc -p . --noEmit", "test:types:examples": "tsc -p examples --noEmit", "test:spec": "vitest run", "examples:01_obj": "DIR=01_obj vite", "examples:02_array": "DIR=02_array vite", "examples:03_minecraft": "DIR=03_minecraft vite" }, "keywords": [ "valtio", "yjs", "crdt" ], "license": "MIT", "prettier": { "singleQuote": true }, "devDependencies": { "@eslint/js": "^9.32.0", "@react-three/cannon": "^6.6.0", "@react-three/drei": "^10.6.1", "@react-three/fiber": "^9.3.0", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/node": "^24.2.0", "@types/react": "^19.1.9", "@types/react-dom": "^19.1.7", "@types/three": "^0.179.0", "eslint": "^9.32.0", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "6.0.0-rc.1", "happy-dom": "^18.0.1", "prettier": "^3.6.2", "react": "^19.1.1", "react-dom": "^19.1.1", "three": "^0.179.1", "ts-expect": "^1.3.0", "typescript": "^5.9.2", "typescript-eslint": "^8.39.0", "valtio": "^2.1.5", "valtio-yjs": "link:", "vite": "^7.0.6", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.4", "y-webrtc": "^10.3.0", "y-websocket": "^3.0.0", "yjs": "^13.6.27" }, "peerDependencies": { "valtio": ">=2.0.0-rc.0" } }