1.0.0 • Published 6 months ago
create-parcel-project v1.0.0
Create Parcel Project
A CLI tool to quickly create a React application using Parcel with options for TypeScript, Tailwind CSS, React Router, and Ant Design.
Features
- Supports both JavaScript and TypeScript templates.
- Quickly integrates popular libraries like Tailwind CSS, React Router, and Ant Design.
- Built-in Parcel bundler configuration.
- Fully customizable templates.
Installation
Install globally using NPM:
npm install -g create-parcel-project
Usage
Run the CLI tool to create a new React project:
create-parcel-project [project-name]
If no project name is provided, the CLI will prompt you to enter one.
Options
The CLI offers the following interactive prompts:
Project Name:
- Provide the name of the project directory.
- Defaults to the current directory name if not specified.
Use TypeScript:
- Choose between JavaScript or TypeScript for your project.
Include Tailwind CSS:
- Optionally add Tailwind CSS for styling.
Include React Router:
- Optionally add React Router for routing.
Include Ant Design:
- Optionally add Ant Design for UI components.
Examples
Create a project
create-parcel-project my-js-app
- Follow the prompts to configure the project.
Development
Running Locally
Clone the repository:
git clone https://github.com/juancdejesus/create-parcel-project.git cd create-parcel-project
Link the package locally:
npm link
Run the CLI tool:
create-parcel-project <project-name>
License
This project is licensed under the MIT License. See the LICENSE file for details.
1.0.0
6 months ago