Project Scaffold is a powerful CLI tool designed to streamline the process of scaffolding and managing development projects. With a focus on the popular tech stack of React, TypeScript, Vite, Tailwind CSS, Framer Motion, and React Router Dom, this tool provides a seamless and efficient way to kickstart your projects.
- Quickly generate a new project structure with a single command
- Automatically set up a React project with TypeScript support
- Integrate Vite as the build tool for fast development and optimized builds
- Seamlessly configure Tailwind CSS for rapid and responsive styling
- Include Framer Motion for smooth and engaging animations
- Set up React Router Dom for efficient client-side routing
- Generate boilerplate code for components and services
- Create and initialize a GitHub repository directly from the CLI
- Clone the created repository to your local environment
- Customize project preferences and store them in a configuration file
- Interactive prompts for a user-friendly experience
Project Scaffold takes care of the repetitive setup tasks, allowing you to focus on building your application logic. With its intuitive commands and configuration options, you can create a new project, generate essential files, and set up a GitHub repository in just a few steps.
Whether you're a seasoned developer or just starting out, Project Scaffold provides a solid foundation for your development workflow. Say goodbye to manual setup and hello to productivity with this essential tool in your development arsenal.
Get started with Project Scaffold today and revolutionize the way you create and manage your projects!
To use Project Scaffold globally on your computer, you need to install it as a global package using npm. Open your terminal and run the following command:
npm install -g project-scaffold
This will install Project Scaffold globally, allowing you to use the scaffold
command from anywhere on your computer.
-
Create a new project:
Command:scaffold new
Description: Generates a new project structure based on the selected options.
Options:- Project name (prompted)
- Use TypeScript (prompted, default: true)
- Use Tailwind CSS (prompted, default: true)
- Use Framer Motion (prompted, default: true)
- Use React Router (prompted, default: true)
-
Generate boilerplate code:
Command:scaffold generate
Description: Generates boilerplate code for components or services.
Options:- File type (prompted, choices: component, service)
- File name (prompted)
-
Create a GitHub repository:
Command:scaffold repo
Description: Creates a new GitHub repository and clones it locally.
Options:- Repository name (prompted)
- Repository description (prompted, optional)
- Private repository (prompted, default: false)
- GitHub personal access token (prompted, optional if already configured)
-
Configure default settings:
Command:scaffold config
Description: Sets default configuration options for the CLI tool.
Options:- Default project type (prompted, choices: react)
- GitHub personal access token (prompted, optional)
-
Create a new React project with TypeScript, Tailwind CSS, Framer Motion, and React Router:
$ scaffold new ? Enter the project name: my-app ? Do you want to use TypeScript? Yes ? Do you want to use Tailwind CSS for styling? Yes ? Do you want to use Framer Motion for animations? Yes ? Do you want to use React Router for routing? Yes
-
Generate a new React component:
$ scaffold generate ? Select what type of file you want to generate: component ? Enter the file name: Header.js
-
Create a new GitHub repository:
$ scaffold repo ? Enter the repository name: my-repo ? Enter the repository description (optional): My awesome project ? Do you want to make the repository private? No ? Enter your GitHub personal access token (optional if you've already configured it): <your-token>
-
Set default configuration:
$ scaffold config ? Select a default project type: react ? Enter your GitHub personal access token (optional): <your-token>