verify reports integrity problems and repair rebuilds derivatives from the Originals, which is what makes the file layout trustworthy without a database. The image runs TypeScript on Node 24 with no build step, writes only under MENU_ROOT, and the provision script writes the untracked site.env using the image's own hasher so the server needs no Node.
31 lines
737 B
JSON
31 lines
737 B
JSON
{
|
|
"name": "menu-admin",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"start": "node src/server.ts",
|
|
"dev": "SECURE_COOKIES=false node --watch src/server.ts",
|
|
"seed": "node scripts/seed-dev.ts",
|
|
"verify": "node src/cli/verify.ts",
|
|
"repair": "node src/cli/repair.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "node --test test/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^11.1.2",
|
|
"@fastify/formbody": "^9.0.0",
|
|
"@fastify/multipart": "^10.1.2",
|
|
"@fastify/static": "^10.1.4",
|
|
"fastify": "^5.12.5",
|
|
"sharp": "^0.35.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.6.2",
|
|
"typescript": "^7.0.2"
|
|
}
|
|
}
|