@subashrijal5/component-generator

This simple npm library allows you to create your component along with test and documentation file from a simple command within your favorite framework. *Note: Currently I have just add support for typescript/react and javascript/react. very soon It will


Keywords
component Creator, react component, Command Line Tool
License
MIT
Install
npm install @subashrijal5/component-generator@0.0.2

Documentation

Introduction!

This simple npm library allows you to create your component along with test and documentation file from a simple command within your favorite framework. *Note: Currently I have just add support for typescript/react and javascript/react. very soon It will be available for frameworks vue.js, svlte solid.js and many more.. *

Getting Started

Installation

  1. Install Package
npm i @subashrijal5/component-generator
  1. Initialize and setup your requirements, You will be asked few questions, please choose as per your requirement.
npm run make:init
  1. On completion of above command .env file will be generated on the root directory with the answer you have provided. if you wish to modify the variables you can modify from there.
  2. Let's generate our first component
npm run make:component YourComponentName

OR

npm run make:component --component=YourComponentName
  1. Above command will generate a folder containing component, test and documentation file.
    *Documentation is under development right now will be live in few days. *

Made with ❤️ by @subashrijal5

Contributors