create-react-package
is a CLI tool designed to simplify the creation of new React component projects. It sets up a new project by cloning a predefined template, customizing the package.json
, and installing dependencies, making it easy to start developing immediately.
- Clones a React project template.
- Customizes project details via an interactive CLI.
- Sets up
package.json
with user-defined configurations. - Automatically installs all dependencies.
Before you begin, ensure you have Node.js installed on your system. You can download it from Node.js official website.
To create a new React component project, run:
npx @octa-labs/create-react-package my-react-component
Follow the interactive prompts to enter:
- Package version
- Repository URL
- Keywords (comma-separated)
- Author name
- License
- Project Creation: The tool clones a template from a specified GitHub repository.
- Configuration: It prompts you to enter project details which are then used to update the package.json.
- Dependency Installation: Automatically installs all required dependencies.
Contributions are welcome! Please fork the repository and submit pull requests with your proposed changes.
Distributed under the MIT License. See LICENSE for more information.