{
  "name": "crossws",
  "version": "0.4.5",
  "description": "Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers",
  "homepage": "https://crossws.h3.dev",
  "license": "MIT",
  "repository": "h3js/crossws",
  "files": [
    "dist",
    "adapters",
    "websocket",
    "server",
    "*.d.ts"
  ],
  "type": "module",
  "sideEffects": false,
  "main": "./dist/index.mjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": "./dist/index.mjs",
    "./adapters/bun": "./dist/adapters/bun.mjs",
    "./adapters/bunny": "./dist/adapters/bunny.mjs",
    "./adapters/deno": "./dist/adapters/deno.mjs",
    "./adapters/cloudflare": "./dist/adapters/cloudflare.mjs",
    "./adapters/sse": "./dist/adapters/sse.mjs",
    "./adapters/node": "./dist/adapters/node.mjs",
    "./adapters/uws": "./dist/adapters/uws.mjs",
    "./server/bun": "./dist/server/bun.mjs",
    "./server/bunny": "./dist/server/bunny.mjs",
    "./server/deno": "./dist/server/deno.mjs",
    "./server/node": "./dist/server/node.mjs",
    "./server": {
      "deno": "./dist/server/deno.mjs",
      "bun": "./dist/server/bun.mjs",
      "workerd": "./dist/server/cloudflare.mjs",
      "node": "./dist/server/node.mjs",
      "default": "./dist/server/default.mjs"
    },
    "./websocket/sse": "./dist/websocket/sse.mjs",
    "./websocket": {
      "browser": "./dist/websocket/native.mjs",
      "worker": "./dist/websocket/native.mjs",
      "bun": "./dist/websocket/native.mjs",
      "deno": "./dist/websocket/native.mjs",
      "edge-light": "./dist/websocket/native.mjs",
      "workerd": "./dist/websocket/native.mjs",
      "node": "./dist/websocket/node.mjs",
      "default": "./dist/websocket/native.mjs"
    }
  },
  "scripts": {
    "build": "obuild",
    "dev": "vitest",
    "lint": "oxlint . && oxfmt --check src test",
    "fmt": "oxlint . --fix && oxfmt src test",
    "prepack": "pnpm run build",
    "play:bun": "bun --watch test/fixture/bun.ts",
    "play:cf": "wrangler dev --port 3001 -c test/fixture/wrangler.toml",
    "play:cf-durable": "wrangler dev --port 3001 -c test/fixture/wrangler-durable.toml",
    "play:deno": "deno run --watch --unstable-byonm -A test/fixture/deno.ts",
    "play:node": "jiti test/fixture/node.ts",
    "play:sse": "deno run --unstable-byonm -A --watch test/fixture/sse.ts",
    "play:uws": "jiti test/fixture/uws.ts",
    "release": "pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags",
    "test": "pnpm lint && pnpm typecheck && vitest run --coverage",
    "typecheck": "tsgo --noEmit --skipLibCheck"
  },
  "devDependencies": {
    "@cloudflare/workers-types": "^4.20260410.1",
    "@types/bun": "^1.3.12",
    "@types/deno": "^2.5.0",
    "@types/node": "^25.6.0",
    "@types/web": "^0.0.345",
    "@types/ws": "^8.18.1",
    "@typescript/native-preview": "^7.0.0-dev.20260410.1",
    "@vitest/coverage-v8": "^4.1.4",
    "automd": "^0.4.3",
    "changelogen": "^0.6.2",
    "consola": "^3.4.2",
    "eslint-config-unjs": "^0.6.2",
    "eventsource": "^4.1.0",
    "execa": "^9.6.1",
    "get-port-please": "^3.2.0",
    "h3": "^2.0.1-rc.20",
    "jiti": "^2.6.1",
    "listhen": "^1.9.1",
    "obuild": "^0.4.33",
    "oxfmt": "^0.44.0",
    "oxlint": "^1.59.0",
    "srvx": "^0.11.15",
    "typescript": "^6.0.2",
    "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.57.0",
    "unbuild": "^3.6.1",
    "undici": "^8.0.2",
    "vitest": "^4.1.4",
    "wrangler": "^4.81.1",
    "ws": "^8.20.0"
  },
  "peerDependencies": {
    "srvx": ">=0.11.5"
  },
  "peerDependenciesMeta": {
    "srvx": {
      "optional": true
    }
  },
  "resolutions": {
    "crossws": "workspace:*"
  },
  "packageManager": "pnpm@10.33.0",
  "pnpm": {
    "ignoredBuiltDependencies": [
      "@parcel/watcher",
      "esbuild",
      "sharp",
      "workerd"
    ],
    "onlyBuiltDependencies": [
      "@parcel/watcher",
      "esbuild",
      "sharp",
      "workerd"
    ]
  }
}
