- core: AddressBook registry, Roles lib, ProofChainAccess base, Pauser - modules: provenance, payments/treasury, identity, reputation, finance/RWA, insurance, disputes+governance, esg/tokenization, marketplace, rewards - @proofchain/api: 33 routers + event indexer (Supabase) - web: 37 pages incl landing, explorer, finance, governance, esg, marketplace - 704 forge tests + 449 vitest tests green; 61 ABIs exported Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|