{
  "name": "@earth-now/api",
  "version": "0.1.0",
  "private": true,
  "type": "module",
  "description": "Fastify REST + SSE API — serves CounterModels (never per-tick values), badges, and RT pollers",
  "author": "Simon-Pierre Boucher <contact@spboucher.ai>",
  "scripts": {
    "dev": "tsx watch src/server.ts",
    "build": "tsc -p tsconfig.json",
    "start": "node dist/server.js",
    "test": "vitest run",
    "typecheck": "tsc --noEmit",
    "lint": "echo 'lint: covered by root header check'",
    "db:migrate": "echo 'migrations live in infra/ — applied via docker entrypoint'",
    "models:refit": "tsx src/scripts/refit.ts"
  },
  "dependencies": {
    "@earth-now/counter": "workspace:*",
    "@earth-now/models": "workspace:*",
    "@earth-now/registry": "workspace:*",
    "@fastify/cors": "^9.0.1",
    "@fastify/rate-limit": "^9.1.0",
    "fastify": "^4.28.1"
  },
  "devDependencies": {
    "@types/node": "^20",
    "tsx": "^4.19.0",
    "typescript": "^5.5.4",
    "vitest": "^2.0.5"
  }
}
