valtio-yjs
Version:
valtio-yjs makes yjs state easy
95 lines (94 loc) • 2.59 kB
JSON
{
"name": "valtio-yjs",
"description": "valtio-yjs makes yjs state easy",
"version": "0.7.0",
"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.39.2",
"@react-three/cannon": "^6.6.0",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.5.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.182.0",
"eslint": "^9.39.2",
"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": "7.0.1",
"happy-dom": "^20.0.11",
"prettier": "^3.7.4",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"three": "^0.182.0",
"ts-expect": "^1.3.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.51.0",
"valtio": "^2.3.0",
"valtio-yjs": "link:",
"vite": "^7.3.0",
"vite-tsconfig-paths": "^6.0.3",
"vitest": "^4.0.16",
"y-webrtc": "^10.3.0",
"y-websocket": "^3.0.0",
"yjs": "^13.6.28"
},
"peerDependencies": {
"valtio": ">=2.3.0"
}
}