makeReact
makeReact is a python package which helps react and react-native developer to speed-up their develoment process. It saves our time of creating new components or screens and writing the bare minimum amount of code every time. So here is a python package with which we can create our components right from the terminal into the projects directory, all that ease is just a pip install away.
pip install makeReact
Installation
makeReact has following command line flags:
- -path=Pass the path to the project ( if not provided, defaults to the current working directory )
- -s=If True, Create files in screens folder( suitable for react-native )
- -c=If True, Create files in components folder( suitable for both react and react-native)
- -n=Pass the name for the component or screen
- -r=If True, create files with react code
- -rn=If True, create files with react-native code
Note:
- Either of the -s or -c flag must be set to True
- Either of the -r or -rn flag must be set to True
- Components or Screens folder are created if not already present in the directory
- If you want to pass the path and it contains spaces, try passing it in inverted commas.
Examples:
makeReact -path=C:/Users/Hur/MyReactProject/src -c=True -n=MyComponent -r=True
or
makeReact -c=True -n=MyComponent -r=True
or
makeReact -path="C:/Users/Hur Ali/MyReactProject/src" -c=True -n=MyComponent -r=True
License
MIT
Release files for makeReact 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| makeReact-0.0.5.tar.gz | 2.8 kB | Details |
Release files / makeReact-0.0.5.tar.gz
| Download URL | makeReact-0.0.5.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b065317662e08768d041a5ac83d46dcdbe13f7fd50dd8e80404e95c31d2d1c91
|
|
BLAKE2b-256 checksum How to use checksums |
a52196894d376d37ef18180ed9a955165176bf4447d848840232adab3789d4de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.16
|