@dhemeira/create-react
v1.0.5
Published
Scaffold a React/Vite starter for dhemeira
Readme
@dhemeira/create-react
An interactive command-line interface to instantly scaffold a new project from the @dhemeira/react-ts-starter starter template.
Built with @clack/prompts for a streamlined, developer-friendly setup experience.
Features
- Zero Configuration - Get a fully configured development workspace in seconds.
- Multi-Package Manager Support - Automatically detects and plays nice with
npm,yarn,pnpm, orbun. - Customizable - Option to automatically initialize a Git repository and pre-install dependencies.
Usage
You don't need to install anything globally. Simply run the initialization command using your preferred package manager in your terminal:
Using npm
npm create @dhemeira/react@latestUsing pnpm
pnpm create @dhemeira/react@latestUsing yarn
yarn create @dhemeira/react@latestUsing bun
bun create @dhemeira/react@latestCommand Line Flags
Prefer to skip the interactive prompts? You can pass your project name as a positional argument and use flags to automate the scaffolding layout:
# Example: Scaffold a project without installing dependencies or starting git
npm create @dhemeira/react@latest my-app -- --no-install --no-git| Flag | Description |
| :------------- | :-------------------------------------------------------------------------- |
| --no-install | Skips running the automatic dependency installation process. |
| --no-git | Skips initializing a local Git repository and setting up the main branch. |
License
MIT © dhemeira
