{
  "name": "@dotcraft/sdk",
  "version": "0.1.7",
  "private": true,
  "description": "TypeScript SDK for DotCraft applications, AppServer wire clients, Hub bootstrap, and external channel modules",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./wire": {
      "types": "./dist/wire.d.ts",
      "import": "./dist/wire.js"
    },
    "./hub": {
      "types": "./dist/hub.d.ts",
      "import": "./dist/hub.js"
    },
    "./channel": {
      "types": "./dist/channel.d.ts",
      "import": "./dist/channel.js"
    },
    "./testing": {
      "types": "./dist/testing.d.ts",
      "import": "./dist/testing.js"
    }
  },
  "files": [
    "dist"
  ],
  "workspaces": [
    ".",
    "packages/channel-feishu",
    "packages/channel-weixin",
    "packages/channel-telegram",
    "packages/channel-qq",
    "packages/channel-wecom"
  ],
  "scripts": {
    "build": "tsc",
    "test": "npm run build:all && node --test dist/adapter.test.js dist/channelRuntime.test.js dist/client.test.js dist/dotcraft.test.js dist/hubClient.test.js dist/moduleAdapter.test.js dist/deliveredFrontier.test.js dist/turnReply.test.js dist/transport.test.js dist/conformance-variant.test.js",
    "typecheck": "tsc --noEmit",
    "build:packages": "npm run build --workspace @dotcraft/channel-feishu && npm run build --workspace @dotcraft/channel-weixin && npm run build --workspace @dotcraft/channel-telegram && npm run build --workspace @dotcraft/channel-qq && npm run build --workspace @dotcraft/channel-wecom",
    "bundle:packages": "npm run bundle --workspace @dotcraft/channel-feishu && npm run bundle --workspace @dotcraft/channel-weixin && npm run bundle --workspace @dotcraft/channel-telegram && npm run bundle --workspace @dotcraft/channel-qq && npm run bundle --workspace @dotcraft/channel-wecom",
    "build:all": "npm run build && npm run build:packages && npm run bundle:packages",
    "test:packages": "npm run test --workspace @dotcraft/channel-feishu && npm run test --workspace @dotcraft/channel-weixin && npm run test --workspace @dotcraft/channel-telegram && npm run test --workspace @dotcraft/channel-qq && npm run test --workspace @dotcraft/channel-wecom",
    "test:all": "npm run test && npm run test:packages",
    "typecheck:packages": "npm run typecheck --workspace @dotcraft/channel-feishu && npm run typecheck --workspace @dotcraft/channel-weixin && npm run typecheck --workspace @dotcraft/channel-telegram && npm run typecheck --workspace @dotcraft/channel-qq && npm run typecheck --workspace @dotcraft/channel-wecom",
    "typecheck:all": "npm run build && npm run typecheck && npm run typecheck:packages",
    "generate:manifests": "node scripts/generate-manifest.mjs packages/channel-feishu && node scripts/generate-manifest.mjs packages/channel-weixin && node scripts/generate-manifest.mjs packages/channel-telegram && node scripts/generate-manifest.mjs packages/channel-qq && node scripts/generate-manifest.mjs packages/channel-wecom",
    "pack:verify": "npm pack --dry-run && npm pack --dry-run --workspace @dotcraft/channel-feishu && npm pack --dry-run --workspace @dotcraft/channel-weixin && npm pack --dry-run --workspace @dotcraft/channel-telegram && npm pack --dry-run --workspace @dotcraft/channel-qq && npm pack --dry-run --workspace @dotcraft/channel-wecom",
    "prepublishOnly": "npm run build"
  },
  "engines": {
    "node": ">=20",
    "npm": ">=7"
  },
  "dependencies": {
    "ws": "^8.18.0"
  },
  "devDependencies": {
    "@types/node": "^22.10.0",
    "@types/ws": "^8.5.13",
    "esbuild": "^0.25.11",
    "typescript": "^5.7.0"
  },
  "license": "MIT"
}
