1.0.2 • Published 6 years ago
scafer v1.0.2
scafer
scafer cli tool to generate component's boilerplate. Basically it will take component name and generate folders and respective files.
Usage
Run following script to generate boilerplate for React component.
scafer Avatar --dir src/components --typescriptoptions
- first argument will be component name
--dirdefault it will create files at root directory if you specified --dir name then it will create files at specific directory.--typescriptit will generate .ts/.tsx files