{"repo":"yannvr/react-components-cli","free":true,"listed":false,"github":"https://github.com/yannvr/react-components-cli","clone":"git clone https://github.com/yannvr/react-components-cli.git","description":"React command line template generator","language":"HTML","stars":15,"topics":["plop","template","react","react-cli","command-line","styled-component-cli","styled-component","react-component-cli","react-components-cli"],"license":null,"category":"cli-tools","readme_excerpt":"React styled component generator \"Automate every single boring and repetitive tasks\" -- DevOps Handbook Create a styled component with test (Jest ready) including optionals story and style component. Supports Typescript. Create components based on the following structure (example given in js) - src/components/new-component/index.jsx - src/components/new-component/test.jsx - src/components/new-component/story.js (optional) - src/components/new-component/style.js (optional) Installation - yarn global add react-components-cli Note: You will need to add yarn global bin to your path like adding export PATH=\"$(yarn global bin):$PATH\" in your .bashrc or .zshrc (or whatever on windows) Usage - Create any components type using prompts: - create-component (note: if global not found, add yarn global dir to your PATH) Examples - create-component -- --name FunctionComponent --directory src/components --componentType stateless --styled true --story false --componentCase camel will create a function component in src/component/profile including test and story files TODO - Cypress template Note: the template can generate unstyled component but you'll just have to remove styled component references. PR welcome for different handling templates with other conventions/libraries","default_branch":null,"files":null,"tree":[],"storefront":"/r/yannvr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yannvr/react-components-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."}