{
  "name": "@iterate-com/capnweb",
  "version": "0.10.0",
  "description": "Iterate fork of capnweb — Cap'n Web RPC with WebSocket-over-RPC and server-side onCall observability",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "author": "Kenton Varda <kenton@cloudflare.com>",
  "contributors": [
    "Iterate <https://github.com/iterate>"
  ],
  "license": "MIT",
  "files": [
    "dist"
  ],
  "exports": {
    ".": {
      "workerd": {
        "types": "./dist/index.d.ts",
        "import": "./dist/index-workers.js",
        "require": "./dist/index-workers.cjs"
      },
      "bun": {
        "types": "./dist/index-bun.d.ts",
        "import": "./dist/index-bun.js",
        "require": "./dist/index-bun.cjs"
      },
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    }
  },
  "type": "module",
  "publishConfig": {
    "access": "public"
  },
  "workspaces": [
    ".",
    "packages/*"
  ],
  "scripts": {
    "build": "tsdown --config-loader native && npm run -w capnweb-validate build",
    "build:watch": "tsdown --config-loader native --watch",
    "test": "vitest run",
    "test:bun": "bun test __tests__/bun.test.ts",
    "test:ci": "vitest run && bun test __tests__/bun.test.ts",
    "test:watch": "vitest",
    "test:types": "tsc -p __type-tests__/tsconfig.json --noEmit",
    "prepublishOnly": "npm run build",
    "prepare": "npm run build"
  },
  "devDependencies": {
    "@changesets/changelog-github": "^0.5.2",
    "@changesets/cli": "^2.29.8",
    "@cloudflare/vitest-pool-workers": "^0.12.10",
    "@cloudflare/workers-types": "^4.20260205.0",
    "@types/bun": "^1.2.0",
    "@types/ws": "^8.18.1",
    "@vitest/browser": "^3.2.7",
    "pkg-pr-new": "^0.0.60",
    "playwright": "^1.56.1",
    "tsdown": "^0.22.0",
    "tsx": "^4.21.0",
    "typescript": "^5.9.3",
    "vitest": "^3.2.7",
    "ws": "^8.21.1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/iterate/capnweb.git"
  },
  "bugs": {
    "url": "https://github.com/iterate/capnweb/issues"
  },
  "homepage": "https://github.com/iterate/capnweb#readme"
}
