create-gomani
v0.11.0
Published
Scaffold a new Gomani app: fast by default, installable, offline-capable, budget-gated.
Maintainers
Readme
create-gomani
Scaffold a new Gomani app — fast by default.
npm create gomani@latest my-app
cd my-app
npm install
npm run devThe generated app demonstrates the defaults with no opt-in work:
- a static, zero-JavaScript page (server-rendered) with one interactive island (code-split, loaded on demand);
- the Savanna design system (
@gomani/savanna) — zero-runtime CSS; - accessible markup (a skip link, labelled controls) that passes the build-time a11y gate;
- an enforced budget (
gomani.budget.json) — the build fails if a route regresses; - an installable, offline-capable PWA (
gomani.pwa.json+ a service worker).
npm run build runs the production build with the budget + a11y gates; the result is a handful of
kilobytes that works on a weak device and a slow network.
Programmatic API: createApp(dir, options) writes the scaffold and returns the files written.
