yjs-server
Version:
An extensible websocket server for the Yjs collaborative editing framework. Compatible with y-websocket.
86 lines (85 loc) • 2.23 kB
JSON
{
"name": "yjs-server",
"version": "0.2.3",
"description": "An extensible websocket server for the Yjs collaborative editing framework. Compatible with y-websocket.",
"repository": {
"type": "git",
"url": "https://github.com/closeally/yjs-server.git"
},
"homepage": "https://github.com/closeally/yjs-server#readme",
"author": "Luis Hernandez <luis.hernandez@closeally.com>",
"keywords": [
"yjs",
"y-websocket",
"CRDT",
"offline",
"offline-first",
"shared-editing",
"concurrency",
"collaboration"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/closeally/yjs-server/issues"
},
"sideEffects": false,
"type": "module",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": "./dist/index.js"
},
"packageManager": "pnpm@7.14.0",
"engines": {
"node": ">=14.16"
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"dev": "pnpm build --watch",
"validate": "run-p lint typecheck test:run format:check build",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"typecheck": "tsc --noEmit",
"format:check": "prettier --check .",
"format": "prettier --write .",
"fix": "pnpm lint --fix && pnpm format",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage"
},
"peerDependencies": {
"lib0": "^0.2",
"y-protocols": "^1.0.5",
"yjs": ">= 12"
},
"devDependencies": {
"@types/node": "^18.11.17",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@vitest/coverage-istanbul": "^0.26.2",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"lib0": "^0.2.58",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"vite": "^4.0.3",
"vitest": "^0.26.2",
"wait-for-expect": "^3.0.2",
"ws": "^8.11.0",
"y-protocols": "^1.0.5",
"y-websocket": "^1.4.5",
"yjs": "^14.0.0-0"
},
"prettier": {
"singleQuote": true,
"printWidth": 100,
"semi": false,
"trailingComma": "all"
}
}