Files
hope-events/package.json
joshuaandClaude Opus 5.5 4ca896130b TypeScript backend and /api/v2 foundations (1.51.0)
- tsconfig (allowJs, strict .ts), npm run build -> dist/, typecheck, dev via tsx, ts-jest.
- src/index.js is now a launcher (dist build when it matches, else tsx); server moved to app.js.
- /api/v2: defineRoute with zod -> request validation, response stripping, OpenAPI 3.1 at
  /docs/v2; one error shape and one paged-list shape. First endpoints: events, event, me,
  my registrations.
- deploy.sh/install.sh build the backend; rollback to older releases skips the build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdg2GYqbnKZmPaX1ot
2026-10-29 08:48:54 +02:00

34 lines
1.2 KiB
JSON

{
"name": "hope-events",
"version": "1.51.0",
"main": "index.js",
"scripts": {
"dev:backend": "cd backend && npm run dev",
"dev:frontend": "cd frontend && npm run dev",
"start:backend": "cd backend && npm run start",
"start:frontend": "cd frontend && npm run start",
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"build": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate",
"test:e2e": "playwright test",
"test": "npm --prefix backend test",
"demo:list": "npm --prefix backend run set-demo -- --list",
"demo:small": "npm --prefix backend run set-demo -- --profile=small",
"demo:events": "npm --prefix backend run set-demo -- --profile=events",
"demo:ministry": "npm --prefix backend run set-demo -- --profile=ministry",
"demo:multicampus": "npm --prefix backend run set-demo -- --profile=multicampus"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@axe-core/playwright": "^4.14.0",
"@playwright/test": "^1.64.0",
"concurrently": "^9.2.1"
},
"overrides": {
"shell-quote": "^1.12.0"
}
}