{
  "name": "@brookesia/service",
  "version": "0.2.2",
  "description": "JavaScript modules for ESP-Brookesia device services (Storage, Wi-Fi, …)",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/espressif/esp-brookesia-toolkit.git",
    "directory": "packages/service"
  },
  "files": [
    "dist"
  ],
  "type": "module",
  "main": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "import": "./dist/index.mjs"
    },
    "./storage": {
      "types": "./dist/storage/index.d.mts",
      "import": "./dist/storage/index.mjs"
    },
    "./wifi": {
      "types": "./dist/wifi/index.d.mts",
      "import": "./dist/wifi/index.mjs"
    },
    "./video": {
      "types": "./dist/video/index.d.mts",
      "import": "./dist/video/index.mjs"
    },
    "./video/encoder": {
      "types": "./dist/video/encoder/index.d.mts",
      "import": "./dist/video/encoder/index.mjs"
    },
    "./video/decoder": {
      "types": "./dist/video/decoder/index.d.mts",
      "import": "./dist/video/decoder/index.mjs"
    },
    "./nes": {
      "types": "./dist/nes/index.d.mts",
      "import": "./dist/nes/index.mjs"
    },
    "./display": {
      "types": "./dist/display/index.d.mts",
      "import": "./dist/display/index.mjs"
    },
    "./ota": {
      "types": "./dist/ota/index.d.mts",
      "import": "./dist/ota/index.mjs"
    },
    "./audio": {
      "types": "./dist/audio/index.d.mts",
      "import": "./dist/audio/index.mjs"
    },
    "./device": {
      "types": "./dist/device/index.d.mts",
      "import": "./dist/device/index.mjs"
    },
    "./sntp": {
      "types": "./dist/sntp/index.d.mts",
      "import": "./dist/sntp/index.mjs"
    },
    "./http": {
      "types": "./dist/http/index.d.mts",
      "import": "./dist/http/index.mjs"
    },
    "./custom": {
      "types": "./dist/custom/index.d.mts",
      "import": "./dist/custom/index.mjs"
    },
    "./manager": {
      "types": "./dist/manager/index.d.mts",
      "import": "./dist/manager/index.mjs"
    },
    "./utils": {
      "types": "./dist/utils/index.d.mts",
      "import": "./dist/utils/index.mjs"
    },
    "./emote": {
      "types": "./dist/emote/index.d.mts",
      "import": "./dist/emote/index.mjs"
    },
    "./agent-manager": {
      "types": "./dist/agent-manager/index.d.mts",
      "import": "./dist/agent-manager/index.mjs"
    },
    "./agent-coze": {
      "types": "./dist/agent-coze/index.d.mts",
      "import": "./dist/agent-coze/index.mjs"
    },
    "./agent-openai": {
      "types": "./dist/agent-openai/index.d.mts",
      "import": "./dist/agent-openai/index.mjs"
    },
    "./agent-xiaozhi": {
      "types": "./dist/agent-xiaozhi/index.d.mts",
      "import": "./dist/agent-xiaozhi/index.mjs"
    },
    "./hosts": {
      "types": "./dist/hosts/index.d.mts",
      "import": "./dist/hosts/index.mjs"
    },
    "./hosts/storage": {
      "types": "./dist/hosts/storage-host.d.mts",
      "import": "./dist/hosts/storage-host.mjs"
    },
    "./hosts/wifi": {
      "types": "./dist/hosts/wifi-host.d.mts",
      "import": "./dist/hosts/wifi-host.mjs"
    },
    "./hosts/video-encoder": {
      "types": "./dist/hosts/video-encoder-host.d.mts",
      "import": "./dist/hosts/video-encoder-host.mjs"
    },
    "./hosts/video-decoder": {
      "types": "./dist/hosts/video-decoder-host.d.mts",
      "import": "./dist/hosts/video-decoder-host.mjs"
    },
    "./hosts/nes": {
      "types": "./dist/hosts/nes-host.d.mts",
      "import": "./dist/hosts/nes-host.mjs"
    },
    "./hosts/display": {
      "types": "./dist/hosts/display-host.d.mts",
      "import": "./dist/hosts/display-host.mjs"
    },
    "./hosts/ota": {
      "types": "./dist/hosts/ota-host.d.mts",
      "import": "./dist/hosts/ota-host.mjs"
    },
    "./hosts/audio": {
      "types": "./dist/hosts/audio-host.d.mts",
      "import": "./dist/hosts/audio-host.mjs"
    },
    "./hosts/device": {
      "types": "./dist/hosts/device-host.d.mts",
      "import": "./dist/hosts/device-host.mjs"
    },
    "./hosts/sntp": {
      "types": "./dist/hosts/sntp-host.d.mts",
      "import": "./dist/hosts/sntp-host.mjs"
    },
    "./hosts/http": {
      "types": "./dist/hosts/http-host.d.mts",
      "import": "./dist/hosts/http-host.mjs"
    },
    "./hosts/custom": {
      "types": "./dist/hosts/custom-host.d.mts",
      "import": "./dist/hosts/custom-host.mjs"
    }
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "devDependencies": {
    "@types/node": "^22.19.21",
    "tsdown": "^0.22.2",
    "typedoc": "^0.28.5",
    "typescript": "^6.0.3",
    "vitest": "^4.1.8"
  },
  "tsdown": {
    "dts": true,
    "entry": [
      "src/index.ts",
      "src/storage/index.ts",
      "src/wifi/index.ts",
      "src/video/index.ts",
      "src/video/encoder/index.ts",
      "src/video/decoder/index.ts",
      "src/nes/index.ts",
      "src/display/index.ts",
      "src/ota/index.ts",
      "src/audio/index.ts",
      "src/device/index.ts",
      "src/sntp/index.ts",
      "src/http/index.ts",
      "src/custom/index.ts",
      "src/manager/index.ts",
      "src/utils/index.ts",
      "src/emote/index.ts",
      "src/agent-manager/index.ts",
      "src/agent-coze/index.ts",
      "src/agent-openai/index.ts",
      "src/agent-xiaozhi/index.ts",
      "src/hosts/index.ts",
      "src/hosts/storage-host.ts",
      "src/hosts/wifi-host.ts",
      "src/hosts/video-encoder-host.ts",
      "src/hosts/video-decoder-host.ts",
      "src/hosts/nes-host.ts",
      "src/hosts/display-host.ts",
      "src/hosts/ota-host.ts",
      "src/hosts/audio-host.ts",
      "src/hosts/device-host.ts",
      "src/hosts/sntp-host.ts",
      "src/hosts/http-host.ts",
      "src/hosts/custom-host.ts"
    ],
    "format": "esm",
    "outDir": "dist",
    "platform": "node",
    "root": "src"
  },
  "scripts": {
    "build": "tsdown --clean",
    "clean": "rm -rf dist",
    "docs": "typedoc --options typedoc.json",
    "test": "vitest run --config ../../vitest.config.ts"
  }
}