@jexs/create
v0.7.2
Published
Scaffold a new Jexs project
Maintainers
Readme
@jexs/create
Scaffolder for new Jexs projects. Run it with npm create and answer a couple of prompts.
Part of Jexs.
Usage
npm create @jexs my-app
cd my-app
npm installThe CLI asks two questions:
- Environment — Server (HTTP / DB / auth), Client (browser DOM / fetch / audio), or Both.
- Include
@jexs/physicsand@jexs/gl? — for 3D / WebGL / physics work.
…and then writes:
my-app/
├── package.json # with the right @jexs/* deps for your choices
├── .jexs-schema.json # JSON-schema ref pointing at the combined schema
├── .gitignore
├── .vscode/
│ └── settings.json # wires schema into src/**/*.json
└── src/
└── app.json # minimal starter templateWhat you get out of the box
- IDE autocomplete & validation —
.vscode/settings.jsonplus.jexs-schema.jsongive you in-editor docs, validation, and type-aware completion for every Jexs node available in your project. - No build step — the starter app is pure JSON;
tsxruns it directly (server) or the browser loads it (client). - Right deps from the start — physics/gl are only added if you said yes, so you don't pay for what you don't use.
