auth.signup/login/logout/me with signed HMAC session cookies + scrypt hashing; market.snapshot mega-endpoint (quote+candles+sector). node:http server mounts tRPC at /api/trpc + /health + background drain loop. Live-verified: real NVDA 194.97/65 candles/Technology served after stale-while-revalidate drain. 36 tests green.
27 lines
836 B
JSON
27 lines
836 B
JSON
{
|
|
"name": "investor-flow-server",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"description": "Investor Flow — Bun/SQLite backend (implemented on Node 26 + node:sqlite; DESIGN.md §1-§8). Runtime glue adapted from Bun; deep-module architecture unchanged.",
|
|
"scripts": {
|
|
"dev": "node --watch --experimental-strip-types src/index.ts",
|
|
"start": "node --experimental-strip-types src/index.ts",
|
|
"test": "node --test --experimental-strip-types \"src/**/*.test.ts\"",
|
|
"db:init": "node --experimental-strip-types src/db/client.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@trpc/server": "^11.0.0",
|
|
"yahoo-finance2": "^3.15.3",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|