AFFiNE/packages/common/y-indexeddb/package.json
2023-12-19 21:53:57 +08:00

53 lines
1.1 KiB
JSON

{
"name": "@toeverything/y-indexeddb",
"type": "module",
"version": "0.10.3-canary.2",
"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": {
"idb": "^8.0.0",
"nanoid": "^5.0.3",
"y-provider": "workspace:*"
},
"devDependencies": {
"@blocksuite/blocks": "0.11.0-nightly-202312191338-a781985",
"@blocksuite/store": "0.11.0-nightly-202312191338-a781985",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-dts": "3.6.0",
"vitest": "1.0.4",
"y-indexeddb": "^9.0.11",
"yjs": "^13.6.10"
},
"peerDependencies": {
"yjs": "^13"
}
}