{
  "name": "@zhin.js/host-router",
  "version": "3.0.0",
  "description": "Zhin Host HTTP runtime: Koa, Router, Bearer auth, CORS (pair with @zhin.js/host-api)",
  "type": "module",
  "main": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "exports": {
    ".": {
      "types": "./lib/index.d.ts",
      "development": "./src/index.ts",
      "import": "./lib/index.js"
    },
    "./router": {
      "types": "./lib/router.d.ts",
      "development": "./src/router.ts",
      "import": "./lib/router.js"
    }
  },
  "keywords": [
    "zhin",
    "zhin.js",
    "bot",
    "service",
    "host-router",
    "router",
    "koa",
    "websocket",
    "auth"
  ],
  "author": {
    "name": "lc-cn",
    "email": "admin@liucl.cn",
    "url": "https://github.com/lc-cn"
  },
  "license": "MIT",
  "repository": {
    "url": "git+https://github.com/zhinjs/zhin.git",
    "type": "git",
    "directory": "packages/host/router"
  },
  "dependencies": {
    "@koa/router": "^15.6.0",
    "koa": "^3.2.1",
    "koa-body": "^8.0.0",
    "ws": "^8.21.0",
    "@zhin.js/console-protocol": "1.1.0",
    "@zhin.js/schema": "1.0.71",
    "@zhin.js/logger": "1.0.75"
  },
  "peerDependencies": {
    "@zhin.js/core": "^1.4.0"
  },
  "devDependencies": {
    "@types/koa": "^3.0.3",
    "@types/koa-bodyparser": "^4.3.13",
    "@types/koa__router": "^12.0.4",
    "@types/ws": "^8.18.1",
    "@zhin.js/core": "1.4.0"
  },
  "files": [
    "src",
    "lib",
    "README.md",
    "CHANGELOG.md"
  ],
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  },
  "engines": {
    "node": "^20.19.0 || >=22.12.0"
  },
  "scripts": {
    "build": "pnpm build:node",
    "clean": "rimraf lib",
    "build:node": "tsc"
  }
}