SPB Git

spb/earth-now Public License

earth-now.co — real-time planetary dashboard: live world metrics modeled, not streamed.

TypeScript 93% Shell 2.3% SQL 1.4% JavaScript 1.3% Dockerfile 1.2% CSS 0.8%
1017 B · 33 lines json
Raw Blame History
1{2  "name": "@earth-now/api",3  "version": "0.1.0",4  "private": true,5  "type": "module",6  "description": "Fastify REST + SSE API — serves CounterModels (never per-tick values), badges, and RT pollers",7  "author": "Simon-Pierre Boucher <contact@spboucher.ai>",8  "scripts": {9    "dev": "tsx watch src/server.ts",10    "build": "tsc -p tsconfig.json",11    "start": "node dist/server.js",12    "test": "vitest run",13    "typecheck": "tsc --noEmit",14    "lint": "echo 'lint: covered by root header check'",15    "db:migrate": "echo 'migrations live in infra/ — applied via docker entrypoint'",16    "models:refit": "tsx src/scripts/refit.ts"17  },18  "dependencies": {19    "@earth-now/counter": "workspace:*",20    "@earth-now/models": "workspace:*",21    "@earth-now/registry": "workspace:*",22    "@fastify/cors": "^9.0.1",23    "@fastify/rate-limit": "^9.1.0",24    "fastify": "^4.28.1"25  },26  "devDependencies": {27    "@types/node": "^20",28    "tsx": "^4.19.0",29    "typescript": "^5.5.4",30    "vitest": "^2.0.5"31  }32}33