@subashrijal5/component-cli
v0.0.4
Published
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
Downloads
1
Maintainers
Readme
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-cli
- 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
npx make-component YourComponentName
OR
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