CI / build-and-test (push) Has been cancelled
- Add Dockerfile (multi-stage Node 20), .dockerignore, docker-compose.yml, and DEPLOY-DOKPLOY.md for container deployment on Dokploy. - Commit the DigitalOcean managed-Postgres Project CA cert (certs/ca-certificate.crt) so production TLS verification (fail-closed) works in-container. Public CA, safe to commit. - Blog cover images served from DO Spaces; allow *.digitaloceanspaces.com in the prod CSP img-src. - Includes the AI (case summaries) and Cloudflare Turnstile bot-protection features. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "@lawdesk/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/server.ts",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc -p tsconfig.json --noEmit",
|
|
"start": "tsx src/server.ts",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "vitest run -c vitest.e2e.config.ts",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.111.0",
|
|
"@aws-sdk/client-s3": "^3.1088.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1088.0",
|
|
"@fastify/cookie": "^11.0.1",
|
|
"@fastify/cors": "^10.0.1",
|
|
"@fastify/helmet": "^12.0.1",
|
|
"@fastify/multipart": "^9.0.1",
|
|
"@fastify/rate-limit": "^10.2.1",
|
|
"@fastify/static": "^8.0.3",
|
|
"@lawdesk/db": "*",
|
|
"@sentry/node": "^8.45.0",
|
|
"argon2": "^0.41.1",
|
|
"dotenv": "^16.4.5",
|
|
"drizzle-orm": "^0.36.4",
|
|
"fastify": "^5.1.0",
|
|
"fastify-plugin": "^5.0.1",
|
|
"fastify-type-provider-zod": "^4.0.2",
|
|
"pdfkit": "^0.15.0",
|
|
"pg": "^8.13.1",
|
|
"pino": "^9.5.0",
|
|
"stripe": "^17.4.0",
|
|
"tsx": "^4.19.2",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.9.1",
|
|
"@types/pdfkit": "^0.13.5",
|
|
"@types/pg": "^8.11.10",
|
|
"pino-pretty": "^11.3.0",
|
|
"typescript": "^5.6.3",
|
|
"vitest": "^3.2.7"
|
|
}
|
|
}
|