{"repo":"arminbro/generate-react-cli","free":true,"listed":false,"github":"https://github.com/arminbro/generate-react-cli","clone":"git clone https://github.com/arminbro/generate-react-cli.git","description":"A simple React CLI to generate components instantly and more.","language":"JavaScript","stars":413,"topics":["build-tools","react","cli","scaffolding"],"license":"MIT","category":"cli-tools","readme_excerpt":"Generate React CLI A CLI tool to speed up productivity in React projects by generating components instantly with configurable templates. Table of Contents - Quick Start - Requirements - Config File - Generate Components - Options - Custom Component Types - Custom Component Templates - Template Keywords - Custom Component Files - Advanced: Custom Directory - License Quick Start Requirements - Node.js 22 or higher - npm 10 or higher Config File When you run GRC within your project the first time, it will ask you a series of questions to customize the CLI for your project needs (this will create a generate-react-cli.json config file). Test library options: Option Description -------- ------------- Testing Library Uses React Testing Library Vitest Uses Vitest with React Testing Library None Basic tests using React's createRoot API Generate Components This command will create a folder with your component name within your default (e.g., src/components ) directory, and its corresponding files. Options You can override config rules using command-line options: Option Description Default -------- ------------- --------- --path Output directory for the component Config value --type Custom component type to use default --withLazy Generate a lazy-loading wrapper file Config value --withStory Generate a Storybook story file Config value --withStyle Generate a stylesheet file Config value --withTest Generate a test file Config value --dry-run Preview what will be generated without writing f","default_branch":null,"files":null,"tree":[],"storefront":"/r/arminbro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arminbro/generate-react-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}