create-dev-forge
v1.0.1
Published
A CLI tool to setup a robust development environment
Readme
Create Dev Forge
A powerful CLI tool to instantly scaffold modern web development environments with industry-standard best practices.
Features
- 🚀 Instant Setup: Get up and running in seconds.
- 🛠 Robust Tooling: Pre-configured ESLint, Prettier, and Husky.
- 🎨 UI Libraries: One-click setup for Tailwind CSS or Material UI.
- 🏗 Framework Support: Optimized for Vite (React) and Next.js.
- 📂 Smart Structure: Generates a scalable folder structure with essential utilities and hooks.
Installation
You can use this package directly with npx:
npx create-dev-forgeOr install it globally:
npm install -g create-dev-forge
create-dev-forge initUsage
Run the initialization command and follow the interactive prompts:
npx create-dev-forge initOptions
- Project Name: Choose a name for your new project.
- Framework: Select between Vite (React), Next.js, or a vanilla setup.
- UI Framework: Choose from Tailwind CSS, Material UI, or None.
- Linting: Option to setup ESLint + Prettier + Husky.
- Utilities: Select specific utilities like
cnoruseLocalStorage. - Install Dependencies: Automatically install dependencies after setup.
Generated Structure
The tool sets up a modular folder structure:
src/
├── modules/ # Feature-based modules (e.g., home)
├── shared/ # Shared components, hooks, and utils
├── App.tsx # Main application component
└── ...It also includes helpful utilities like cn (for Tailwind class merging) and hooks like useLocalStorage.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
