ignite helps you generating files from your custom .ejs-templates.
included so far:
- RN Component
- RN Screen
- Zustand Store
- add the following to your package.json:
"scripts": {
// ...
"comp": "npx ignite-cli g component",
"screen": "npx ignite-cli g screen"
},
- add the template folders of this repo to
root/ignite
- run the following commands:
# create Button component in root/app/components/button
yarn comp Button
# create HomeScreen component/screen in root/app/screens
yarn screen Home
These templates are heavily opinionated, e.g.:
- the folder names (as of now, ignite doesn't allow custom output folders)
- the generated code (usage of react-navigation and so on)
LICENSE: MIT