{ "name": "@proofchain/api", "version": "0.1.0", "private": true, "description": "ProofChain backend API — Fastify service that reads chain (viem via @proofchain/shared) and Supabase (@proofchain/infra), auto-loads REST routers, and runs an event indexer.", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "files": [ "dist" ], "engines": { "node": ">=22" }, "scripts": { "dev": "tsx watch src/index.ts", "build": "tsup", "start": "node dist/index.js", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "typecheck": "tsc --noEmit", "lint": "tsc --noEmit" }, "dependencies": { "@fastify/autoload": "^6.0.3", "@fastify/cors": "^10.0.1", "@fastify/rate-limit": "^10.2.0", "@proofchain/infra": "workspace:*", "@proofchain/shared": "workspace:*", "fastify": "^5.2.0", "pino": "^9.5.0", "viem": "^2.21.55", "zod": "^3.24.1" }, "devDependencies": { "@types/node": "^22.10.5", "@vitest/coverage-v8": "^2.1.8", "pino-pretty": "^13.0.0", "tsup": "^8.3.5", "tsx": "^4.19.2", "typescript": "^5.7.3", "vitest": "^2.1.8" } }