A fast, opinionated developer CLI to scaffold React apps and components consistently across your organization.
- ⚡️ Fast scaffolding powered by Bun and ESBuild
- 📦 Create production-ready React apps in seconds
- 🧱 Generate reusable React components with proper folder structure
- 🧹 Enforces code standards with ESLint, Prettier, and lint-staged
- 🔧 Zero-config setup via CLI prompts
- 🚀 Built with DX and scalability in mind
bun add -g @sandeep-jaiswar/dev-clidev-cli create-appFollow the interactive prompts to scaffold a new React + Vite app.
dev-cli generate-componentChoose the component name and type (function or compound), and the CLI will generate the boilerplate inside src/components/.
- Runtime: Bun
- Bundler: tsup
- Build Tooling: ESBuild
- CLI: Inquirer
- Automation: GitHub Actions, Changesets
src/
├── commands/
│ ├── create-app.ts
│ └── generate-component.ts
├── utils/
│ └── copyAndReplaceTemplate.ts
├── templates/
│ ├── react-app/
│ └── react-component/
└── index.ts
Install dependencies:
bun installBuild the CLI:
bun run buildRun locally:
bun run devWe use Changesets for versioning and publishing.
To prepare a release:
bunx changesetThen create a PR. Merging to main will trigger GitHub Actions to publish.
MIT © Sandeep Jaiswar