- Add migration script to convert and copy images - Include 7 events (Karaoke, Pub Quiz, etc.) in WebP format - Include 9 gallery images in WebP format - Update .gitignore to allow images in data/images/ - Add migration documentation in MIGRATION_README.md Images are stored in backend/data/images/ which maps to the persistent Fly.io volume at /app/data/
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "gallus-cms-backend",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Headless CMS backend for Gallus Pub website",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:studio": "drizzle-kit studio",
|
|
"migrate:old-data": "tsx src/scripts/migrate-old-data.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^9.3.1",
|
|
"@fastify/cors": "^9.0.1",
|
|
"@fastify/jwt": "^8.0.0",
|
|
"@fastify/static": "^6.12.0",
|
|
"@fastify/multipart": "^8.1.0",
|
|
"bcrypt": "^5.1.1",
|
|
"better-sqlite3": "^11.10.0",
|
|
"drizzle-orm": "^0.33.0",
|
|
"fastify": "^4.26.0",
|
|
"sharp": "^0.33.2",
|
|
"simple-git": "^3.22.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/better-sqlite3": "^7.6.9",
|
|
"@types/node": "^20.11.16",
|
|
"drizzle-kit": "^0.24.0",
|
|
"tsx": "^4.20.6",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|