{
  "$schema": "https://json.schemastore.org/package.json",
  "name": "@coda/core-api",
  "private": true,
  "version": "1.0.0",
  "type": "module",
  "sideEffects": false,
  "engines": {
    "node": ">=24.0.0"
  },
  "dependencies": {
    "@bufbuild/protobuf": "^2.3.0",
    "@coda/api-common": "workspace:*",
    "@coda/async": "workspace:*",
    "zod": "^4.3.6"
  },
  "exports": {
    ".": {
      "source": "./src/index.ts",
      "types": "./dist/index.d.mts",
      "default": "./dist/index.mjs"
    },
    "./schemas": {
      "source": "./src/schemas.ts",
      "types": "./dist/schemas.d.mts",
      "default": "./dist/schemas.mjs"
    },
    "./proto": {
      "source": "./src/proto.ts",
      "types": "./dist/proto.d.mts",
      "default": "./dist/proto.mjs"
    }
  },
  "files": [
    "dist",
    "README.md"
  ],
  "scripts": {
    "buf:generate": "buf generate proto",
    "build": "tsdown",
    "dev": "tsdown --watch",
    "typecheck": "tsc --noEmit",
    "lint": "eslint src/ --max-warnings 0",
    "format": "prettier . --write --log-level warn",
    "format:check": "prettier . --check",
    "test": "pnpm test:unit --coverage",
    "test:unit": "vitest run --passWithNoTests",
    "clean": "rm -rf dist"
  },
  "devDependencies": {
    "@bufbuild/protoc-gen-es": "^2.3.0",
    "@types/node": "^24.0.0",
    "eslint": "^10.0.3",
    "tsdown": "^0.21.7",
    "typescript": "~5.9.3"
  }
}
