1.0.2 • Published 4 years ago
@vsimonovski/react-cli v1.0.2
:unicorn: react-cli :unicorn:
Simple React CLI that will generate functional component, storybook(mdx docs supported) and styled component template.
🛠 Technologies used
- ⚡️️ Node.js
- 🧙 Commander.js for argument management
- 🖍 Chalk Terminal string styling done right
- 👨🎤 Prettier for code readability
⚡️ Installation
# install react-cli script globally
yarn global add @vsimonovski/react-cli
# or
npm install -g @vsimonovski/react-cli
💡 Usage
react-cli [options]
Options:
-c --component <comp-name> generate component with storybook and styled components
support
-sb --storybook <comp-name> generate component with storybook support
-sc --styled-component <comp-name> generate component with styled component support
-h, --help display help for command