mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-03 22:22:39 +02:00
bun run preview (in apps/auth) serves a gallery of all 18 states the sign-in flow can show, at desktop and phone sizes, each one also viewable full size. It needs no database or mail: each state is the real screen value, drawn by the real renderer with the real theme. bun --watch restarts the server on any change to the renderer, the stylesheet or the copy, and every page polls for the restart and reloads itself, so styling is edit, save, look.
24 lines
493 B
JSON
24 lines
493 B
JSON
{
|
|
"name": "auth",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "wrangler dev",
|
|
"serve": "bun run src/server.ts",
|
|
"preview": "bun --watch script/preview.ts",
|
|
"deploy": "wrangler deploy"
|
|
},
|
|
"dependencies": {
|
|
"@nestri/auth": "workspace:",
|
|
"@nestri/core": "workspace:"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "catalog:",
|
|
"@tsconfig/node22": "catalog:",
|
|
"@types/bun": "catalog:",
|
|
"@types/node": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|