Skip to content

A CLI for Next.js to easily create Pages and React components with styles, type declarations and test files.

Notifications You must be signed in to change notification settings

vladislav-chiorescu/insomniac-cli

Repository files navigation

@vkioresku/insomniac-cli

A CLI for Next.js to easily create Pages and React components with styles, type declarations and test files.

Maintainability Test Coverage

$ 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

  1. run $ insomniac-cli in your terminal
  2. Choose component type (Class Component or Functional Component)
  3. Choose component name
  4. Choose if you need a styles file (Y/n)
  5. Choose if you need a type declaration file (Y/n)

About

A CLI for Next.js to easily create Pages and React components with styles, type declarations and test files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published