Usage: react-component <name> [options]
Options:
-h, --help output usage information
-V, --version output the version number
-s, --styles [extension] styles extension [default: css]
-e, --ext [extension] file extension [default: js]
-p, --pure [extension], generate react PureComponent [default: Component]
-d, --dir [extension], generate directory structure
npm i -g @mobylogix/react-component
react-component Alert -e jsx -s scss -p -d
will create
Alert
├── Alert.jsx
├── alert.scss