@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-cli
Usage
Add components in 5 easy steps
- run
$ insomniac-cli
in 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)