{
  "name": "@octomil/browser",
  "version": "1.8.2",
  "description": "In-browser ML inference via ONNX Runtime Web + WebGPU",
  "type": "module",
  "main": "dist/index.cjs",
  "module": "dist/index.js",
  "browser": "dist/octomil.min.js",
  "unpkg": "dist/octomil.min.js",
  "jsdelivr": "dist/octomil.min.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "dist"
  ],
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "scripts": {
    "build": "tsc && node build.mjs",
    "build:types": "tsc",
    "build:bundle": "node build.mjs",
    "test": "vitest run",
    "pack:check": "npm pack --dry-run --json",
    "exports:check": "node -e 'import(\"./dist/index.js\").then((m)=>{for (const name of [\"Octomil\",\"OctomilClient\",\"ResponsesClient\"]) if (typeof m[name] !== \"function\") throw new Error(`${name} export missing`)})'",
    "test:watch": "vitest",
    "lint": "eslint src/",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "pnpm run typecheck && pnpm test && pnpm run build && pnpm run exports:check && pnpm run pack:check"
  },
  "dependencies": {
    "@huggingface/transformers": "4.0.0",
    "onnxruntime-web": "^1.17.0"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "@vitest/coverage-v8": "^2.0.0",
    "@webgpu/types": "^0.1.69",
    "esbuild": "^0.27.4",
    "eslint": "^9.0.0",
    "typescript": "^5.4.0",
    "vitest": "^2.0.0"
  },
  "keywords": [
    "octomil",
    "onnx",
    "webgpu",
    "wasm",
    "machine-learning",
    "inference",
    "browser",
    "federated-learning"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/octomil/octomil-browser"
  },
  "engines": {
    "node": ">=18.0.0"
  }
}
