0.0.3 • Published 1 year ago
@subashrijal5/cgenerator v0.0.3
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
Install Package
npm i @subashrijal5/component-generator
Initialize and setup your requirements, You will be asked few questions, please choose as per your requirement.
npx make-init
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.
- Let's generate our first component
ORnpx make-component YourComponentName
npx make-component --component=YourComponentName
- 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