loro/loro-js/package.json
Zixuan Chen bc09a0489f
feat: add typed versions of getMap and getList to Loro class (#96)
* feat: add typed versions of getMap and getList to Loro class

This commit adds `getTypedMap` and `getTypedList` methods to the `Loro` class, which allow for accessing maps and lists with type information. It also adds corresponding `getTyped`, `insertTyped`, and `setTyped` methods to `LoroMap` and `LoroList`. This makes it easier and safer to work with Loro's data structures.

* chore: bump version

* chore: alpha 1

* feat: add size and length to list and map

* chore: update deno test script
2023-05-11 11:59:48 +08:00

30 lines
699 B
JSON

{
"name": "loro-crdt",
"version": "0.2.8-alpha-2",
"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",
"esbuild": "^0.17.12",
"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.29.7"
}
}