A powerful CLI tool to scaffold modern web projects with ease.
- Interactive Setup: User-friendly prompts for project configuration.
- Multiple Templates:
- ⚛️ React: Vite + React + TypeScript + TailwindCSS + (Husky, ESLint, Prettier, Commitlint, Lint-staged) setup (Available).
- ⚛️ React Native: Coming soon.
- ⚡ Next.js: Coming soon.
- 🦁 NestJS: Coming soon.
- 🟢 Node.js: Coming soon.
- Dependencies: Options to auto-install dependencies using your preferred package manager (npm, yarn, pnpm, bun).
You can run the CLI directly using npx:
npx create-leeais-builder@latestOr install it globally:
npm install -g create-leeais-builderSimply run the command without arguments to start the interactive wizard:
create-leeais-builderYou will be prompted for:
- Project Name: The name of your new folder.
- Template: Choose the tech stack (React, etc.).
- Package Manager:
npm,yarn,pnpm, orbun. - Install Dependencies: Whether to run install automatically.
You can also bypass prompts by providing arguments:
create-leeais-builder <project-name> [options]-t, --template <template>: Specify template (react,react-native,next,nest,node).--install: Automatically install dependencies.--no-install: Skip dependency installation.--pm <manager>: Specify package manager (npm,yarn,pnpm,bun).-V, --version: Output the version number.-h, --help: Display help for command.
Create a React app named my-dream-app using pnpm and install dependencies:
create-leeais-builder my-dream-app --template react --pm pnpm --installThe generated project will have a standard structure based on the selected template.
The generated project comes with Husky configured for git hooks (pre-commit, commit-msg, etc.).
Since the CLI does not automatically initialize a git repository, you should run the following commands to set up git and hooks:
git init
npm run prepareNote: If you use a different package manager, run yarn prepare, pnpm prepare, or bun run prepare accordingly.
Contributions are welcome! Please feel free to submit a Pull Request.
MIT