- Turborepo monorepo structure (packages: api, db, types, jobs; services: darkwatch) - Prisma schema: User, WatchListItem, Exposure, Alert, ScanJob models - WatchListService: CRUD with normalization, dedup, tier-based limits - HIBPService: API integration with severity scoring - MatchingEngine: exact-match with content hash dedup - AlertPipeline: dedup window, email notifications - ScanService: orchestrates watch list -> HIBP -> match -> alert flow - BullMQ job workers for scan and alert processing - Fastify API routes: watchlist, exposures, alerts, scan - Docker Compose: PostgreSQL 16 + Redis 7 - 15 unit tests passing - Implementation plan document uploaded
27 lines
516 B
JSON
27 lines
516 B
JSON
{
|
|
"name": "shieldai",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*",
|
|
"services/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "turbo run dev",
|
|
"build": "turbo run build",
|
|
"test": "turbo run test",
|
|
"db:migrate": "turbo run db:migrate",
|
|
"db:seed": "turbo run db:seed",
|
|
"lint": "turbo run lint"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.6.0",
|
|
"turbo": "^2.3.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.1.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|