1.1.0 • Published 2 years ago

quick-component v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

QuickComp

Helps quickly create new React component files from the console which can be configured to your preferences.

Globally install the package to be able to create new component files from anywhere
npm install -g quick-component

Once installed you can start using the quickComp command in the console, here is the command to output the help information:
quickComp --help

Command flags

Flag namealiasdescription
--name \-nname for the files / folder that will be created
--help-hDisplay this usage info
--no-folder-nfCreate the requested files without a folder to contain them
--extensions \-extA string of comma separated list of file extensions to be created (by default: ".jsx,.scss,.spec.jsx")
--path \-pRelative path for the files to be created (current location by default)
--verbose-vlog extra information

Example

quickComp --name myComponent --extensions ".js,.css"
This will create a folder myComponent containing 2 files: myComponent.js and myComponent.css at the current path location.

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago