0.0.3 • Published 1 year ago

@subashrijal5/cgenerator v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
  2. Initialize and setup your requirements, You will be asked few questions, please choose as per your requirement.

    npx make-init
  3. 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.

  4. Let's generate our first component
    npx make-component YourComponentName
    OR
    npx make-component --component=YourComponentName
  5. 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 :heart: by @subashrijal5

Contributors