{
  "name": "loro-websocket",
  "version": "0.6.2",
  "private": false,
  "description": "WebSocket client and SimpleServer for syncing CRDTs base on loro-protocol",
  "author": "Loro Team",
  "license": "MIT",
  "type": "module",
  "main": "dist/client/index.cjs",
  "module": "dist/client/index.js",
  "types": "dist/client/index.d.ts",
  "keywords": [
    "loro",
    "crdt",
    "websocket",
    "client",
    "server",
    "sync",
    "realtime",
    "fragmentation",
    "keepalive",
    "e2ee"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/loro-dev/protocol",
    "directory": "packages/loro-websocket"
  },
  "bugs": {
    "url": "https://github.com/loro-dev/protocol/issues"
  },
  "homepage": "https://github.com/loro-dev/protocol/tree/main/packages/loro-websocket",
  "sideEffects": false,
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "exports": {
    ".": {
      "types": "./dist/client/index.d.ts",
      "import": "./dist/client/index.js",
      "require": "./dist/client/index.cjs"
    },
    "./client": {
      "types": "./dist/client/index.d.ts",
      "import": "./dist/client/index.js",
      "require": "./dist/client/index.cjs"
    },
    "./server": {
      "types": "./dist/server/index.d.ts",
      "import": "./dist/server/index.js",
      "require": "./dist/server/index.cjs"
    }
  },
  "files": [
    "dist"
  ],
  "dependencies": {
    "@types/ws": "^8.18.1",
    "ws": "^8.18.3",
    "loro-adaptors": "0.6.1",
    "loro-protocol": "0.3.0"
  },
  "devDependencies": {
    "@loro-dev/flock": "^4.1.0",
    "get-port": "^7.1.0",
    "tsdown": "^0.14.1",
    "tsx": "^4.20.5",
    "typescript": "^5.9.2",
    "vitest": "^3.2.4"
  },
  "peerDependencies": {
    "loro-crdt": "^1.9.0"
  },
  "scripts": {
    "build": "tsdown",
    "dev": "tsdown --watch",
    "test": "vitest run",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "clean": "tsdown --clean"
  }
}