loro/loro-js/package.json
Zixuan Chen 5cac1ed092
Refactor: make changes mergeable (#146)
- Allow changes to be merged when possible. This makes realtime collaboration more efficient with Loro.
- Refactor the code to make modifications of changes in oplog in one place
- Optimize the diff calculation so that it doesn't have to go back to the beginning of the change.

Note: we still keep the invariants that dependency pointers in Loro always point to the last op in a change
2023-11-03 21:40:34 +08:00

34 lines
814 B
JSON

{
"name": "loro-crdt",
"version": "0.3.0",
"description": "",
"main": "dist/loro.js",
"module": "dist/loro.mjs",
"typings": "dist/loro.d.ts",
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w",
"test": "vitest run",
"prepublish": "pnpm run build"
},
"author": "",
"license": "ISC",
"dependencies": {
"loro-wasm": "workspace:*"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@typescript-eslint/parser": "^6.2.0",
"@vitest/ui": "^0.34.6",
"esbuild": "^0.18.20",
"eslint": "^8.46.0",
"prettier": "^3.0.0",
"rollup": "^3.20.1",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-esbuild": "^5.0.0",
"typescript": "^5.0.2",
"vite": "^4.2.1",
"vite-plugin-wasm": "^3.2.2",
"vitest": "^0.34.0"
}
}