Files
menu/package.json
T
tanshu 9cb4021229 Serve the customer-facing menus
Landing page, Section pages and archived sets rendered per request from the
store, with the approved design: hand-written CSS, self-hosted Archivo, a
copper pour line in the Section rail, an admin-only Thumbnail and a text page
index. Media is keyed by Page id so URLs survive publishing, and a Draft's
media needs a session. Includes the scrypt admin auth and the login throttle
the media rule needs.
2026-09-22 21:18:49 +05:30

28 lines
622 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",
"typecheck": "tsc --noEmit",
"test": "node --test test/*.test.ts"
},
"dependencies": {
"@fastify/cookie": "^11.1.2",
"@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"
}
}