@dauphaihau/create-react-template
v1.1.3
Published
Scaffold a TanStack Start + React 19 + FSD app
Maintainers
Readme
create-react-template
CLI package for create-react-template, used to scaffold a React application from the @dauphaihau/react-template template.
This package is published as @dauphaihau/create-react-template and exposes the create-react-template command.
Note: Use the full scoped name (
@dauphaihau/create-react-template) withbunx/npx. The unscopedcreate-react-templatecommand is only available after a global install (npm install -g @dauphaihau/create-react-template).
Quick Start
bunx @dauphaihau/create-react-template my-appYou can also run it with npm:
npx @dauphaihau/create-react-template my-appThe CLI prompts for:
- Package manager: bun, npm, or pnpm
- Optional features:
- Auth: AuthContext,
useAuth, login route, and register route - GitHub Actions: CI workflow for typecheck, lint, test, and build
- Auth: AuthContext,
- Whether to install dependencies after scaffolding
Generated Project
For the generated app stack and project structure, see the template README:
https://github.com/dauphaihau/react-template/tree/production/packages/template
Usage
bunx @dauphaihau/create-react-template my-app
cd my-app
bun run devLocal Development
From the repository root:
bun run cli:build
bun run cli:dev
bun run cli:testRelated Package
The app template source is published as @dauphaihau/react-template.
License
MIT
