react-cli-jup is a command-line tool designed to streamline the creation of React projects using Vite. This tool simplifies the setup process, making it easier to get started with modern React development.
- Initializes a new React app using Vite.
- Supports JavaScript and TypeScript templates.
- Provides a simple and intuitive CLI for project creation.
To use react-cli-jup
locally during development:
-
Clone the repository:
git clone <repository-url> cd react-cli-jup
-
Link the CLI locally:
npm link
This will make the
react-cli-jup
command available globally on your system.
Run the following command to create a new React project:
react-cli-jup --name <project-name> [--typescript]
--name
: Specifies the name of the project (default:my-app
).--typescript
: Sets up the project with TypeScript (default: JavaScript).
To create a new React app named awesome-app
with TypeScript:
react-cli-jup --name awesome-app --typescript
The tool currently supports:
- Initializing React apps with Vite.
- Basic support for JavaScript and TypeScript templates.
- Add ESLint configuration setup.
- Add Prettier configuration setup.
- Integrate Cypress for end-to-end testing.
The project includes unit tests to ensure reliable functionality. To run tests:
-
Install development dependencies:
npm install
-
Run the tests:
npm test
Contributions are welcome! If you’d like to contribute:
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License. See the LICENSE
file for details.