@vkioresku/insomniac-cli
v1.0.6
Published
A CLI to easily create React components with files such as styles and type declarations
Readme
@vkioresku/insomniac-cli
A CLI for Next.js to easily create Pages and React components with styles, type declarations and test files.
$ insomniac-cli
$ insomniac-cli (-v|--version|version)
$ insomniac-cli --help [COMMAND]Installation
$ npm install -g @vkioresku/insomniac-cliUsage
Add components in 5 easy steps
- run
$ insomniac-cliin your terminal - Choose component type (Class Component or Functional Component)
- Choose component name
- Choose if you need a styles file (Y/n)
- Choose if you need a type declaration file (Y/n)
