react-br-fs
v1.1.1
Published
Create a predefined react file structure for fast development
Downloads
1
Readme
This package is used to make a specified file strcuture in react.
Install this package as a dev dependency. Installed run it
- Give component name. (default name = 'component_name')
- Give component path where it needs to be created . (with reference to the root folder,specify the path). (default path = 'root folder of the project')
- Give the files shorthand to create . (check the file options below for further reference)
File Options: -a = Actions -s = Sagas -c = Constants -r = Api -d = All (Above mentioned all 4 files) (default).
Specify them with comma speperated.
Example: File Options -- -a,-s If left blank create all 4 files inside a folder name state.