AFFiNE/packages/common/y-indexeddb/package.json
2024-01-18 17:26:31 +08:00

54 lines
1.2 KiB
JSON

{
"name": "@toeverything/y-indexeddb",
"type": "module",
"version": "0.11.0",
"description": "IndexedDB database adapter for Yjs",
"repository": "toeverything/AFFiNE",
"author": "toeverything",
"license": "MIT",
"keywords": [
"indexeddb",
"yjs",
"yjs-adapter"
],
"scripts": {
"build": "vite build"
},
"files": [
"dist"
],
"exports": {
".": "./src/index.ts"
},
"publishConfig": {
"access": "public",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.umd.cjs"
}
}
},
"dependencies": {
"@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"idb": "^8.0.0",
"nanoid": "^5.0.3",
"y-provider": "workspace:*"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-dts": "3.7.0",
"vitest": "1.1.3",
"y-indexeddb": "^9.0.11",
"yjs": "^13.6.10"
},
"peerDependencies": {
"yjs": "^13"
}
}