{
  "name": "@zhin.js/host-http",
  "version": "1.1.2",
  "description": "Minimal HTTP and WebSocket host for Plugin Runtime (no Koa)",
  "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"
    }
  },
  "files": [
    "lib",
    "src"
  ],
  "dependencies": {
    "ws": "^8.21.1",
    "@zhin.js/console-protocol": "1.1.6",
    "@zhin.js/host-http-contract": "1.1.0",
    "@zhin.js/logger": "1.1.1",
    "@zhin.js/plugin-runtime": "1.1.11"
  },
  "devDependencies": {
    "@types/node": "^26.1.2",
    "@types/ws": "^8.18.1",
    "typescript": "^6.0.3"
  },
  "engines": {
    "node": "^20.19.0 || >=22.12.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zhinjs/zhin.git",
    "directory": "packages/host/http"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  },
  "license": "MIT",
  "private": false,
  "scripts": {
    "build": "tsc",
    "clean": "rimraf lib",
    "test": "vitest run --root ../../.. packages/host/http/tests"
  }
}