- The messages' YouTube thumbnails are served from the site (/api/thumbnails/<id>.jpg): the backend fetches a message's thumbnail once and keeps it in uploads/.thumbnails (only the site's own videos, only a JPEG), so visitors ask nothing of YouTube before pressing play. The messages page preloads the first one (its LCP: Heritage 89 -> 95). - Calendar events' dates read "Sun · November", not "Sun (month: November)". - e2e: no request to YouTube or Spotify before play; the variant screenshots round section heights to whole pixels (a one-pixel flake); the e2e thumbnail is one of the demo's illustrations. - crosscode script: a Website's export leaves out uploads/.thumbnails. - docs: release checks on 1.0.1, VERSIONS, handover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "@crosscode/website-backend",
|
|
"version": "1.0.1",
|
|
"description": "Church Website: the public site's content API, the admin API, publishing and uploads",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.build.json && node -e \"require('fs').writeFileSync('dist/build.json', JSON.stringify({ version: require('./package.json').version, builtAt: new Date().toISOString() }))\"",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "node --import tsx --test --test-reporter=spec \"tests/**/*.test.ts\"",
|
|
"postinstall": "prisma generate",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:deploy": "prisma migrate deploy && prisma generate",
|
|
"prisma:status": "prisma migrate status",
|
|
"demo": "tsx scripts/demo.ts"
|
|
},
|
|
"dependencies": {
|
|
"@crosscode/auth-client": "*",
|
|
"@crosscode/contracts": "*",
|
|
"@prisma/adapter-pg": "^7.10.1",
|
|
"@prisma/client": "^7.10.1",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^5.3.0",
|
|
"sharp": "^0.35.5",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^20.19.43",
|
|
"@types/supertest": "^7.2.1",
|
|
"prisma": "^7.10.1",
|
|
"supertest": "^7.3.1",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|