yjs-orderedtree
Version:
An ordered tree class for yjs. Lets you use a Y.Map like an ordered tree with insert, delete, and move operations. The children are ordered and the position of a child amongst its sibling can be manipulated
61 lines (60 loc) • 1.82 kB
JSON
{
"type": "module",
"name": "yjs-orderedtree",
"version": "1.0.1-beta.3",
"description": "An ordered tree class for yjs. Lets you use a Y.Map like an ordered tree with insert, delete, and move operations. The children are ordered and the position of a child amongst its sibling can be manipulated",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/index.browser.js",
"require": "./dist/index.node.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.browser.js",
"browser": "./dist/index.browser.js",
"scripts": {
"build": "rollup -c && tsc",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
"release:development": "cross-env NODE_ENV=development && npm run build && node ./release.js",
"release:production": "cross-env NODE_ENV=production && npm run build && node ./release.js"
},
"keywords": [
"yjs",
"fractional-indexing",
"tree",
"ordered-tree",
"crdt",
"collaboration",
"shared-editing",
"concurrency",
"offline"
],
"author": "yeshan-k",
"license": "MIT",
"dependencies": {
"global": "^4.4.0",
"heap-js": "^2.6.0",
"lib0": "^0.2.99"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"rollup": "^4.32.0",
"semver": "^7.6.3",
"yjs": "^13.6.23"
},
"peerDependencies": {
"yjs": "^13.6.23"
},
"developmentVersion": "1.0.1-0",
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
}
}