@jaiminbariya/auto-init v1.0.7
@jaiminbariya/auto-init
@jaiminbariya/auto-init is a CLI tool designed to streamline project setup with modern web development technologies like React, Vite, Tailwind CSS, Firebase, and GitHub Actions. It automates the initialization process, making it easy to start a new project with minimal manual configuration.
Features
- React + Vite: Quickly create a React app using Vite.
- Tailwind CSS: Automates Tailwind CSS installation and configuration.
- Firebase Integration: Optionally set up Firebase for backend services.
- GitHub Actions: Automatically configures CI/CD pipelines with GitHub Actions.
- Flexible Project Structure: Supports customizable directory names for frontend and backend.
Installation
Global Installation
Install the package globally for easy access:
npm install -g @jaiminbariya/auto-initThen, run the tool using:
auto-initUsing npx (No Global Installation Needed)
You can also use it without installing globally:
npx @jaiminbariya/auto-initUsage
Once you run the command, auto-init will guide you through a series of interactive prompts:
- Frontend Setup: Choose whether to create a React project.
- Tailwind CSS: Optionally add Tailwind CSS for styling.
- Firebase: Set up Firebase if needed.
- GitHub Actions: Enable CI/CD for automated deployments.
Example Command
auto-initExample Project Directory Structure
/my-new-project
├── /frontend # React app with Tailwind CSS
│ ├── /src
│ └── tailwind.config.js
└── /backend # Firebase or backend setup (optional)Alternative Installation via auto-init-cloudboy
If you prefer using an unscoped package:
npm install -g auto-init-cloudboyThis package wraps @jaiminbariya/auto-init and provides the same functionality with a simpler name.
Development
Contributing
Contributions are welcome! Follow these steps to set up your local development environment:
- Clone the repository:
git clone https://github.com/jaiminbariya/auto-init.git - Navigate to the project directory:
cd auto-init - Install dependencies:
npm install - Link the package globally for testing:
npm link - Run the CLI locally:
auto-init
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgments
- Inspired by popular tools like
create-react-app,Vite, andTailwind CSS. - Special thanks to the open-source community for Firebase and GitHub Actions support.