Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 2.81 KB

README.md

File metadata and controls

71 lines (53 loc) · 2.81 KB

React Native Code Generator

drawing

@muhtalipdede/rn-generator

Npm Downloads Version MIT License

About

This repository contains code generator for React Native projects in from of a Command Line Tool. Currently it only generates Navigation and Screen codes. It contains some basic react native components. The number of supported core components will increase in future package versions. In addition, custom components can be developed. Warning: This package ( React Native Code Generator @muhtalipdede/rn-generator ) does not have a stable version yet. It is an experiential project.

Additional Information: react-native-community typescript project is used as project template. For more information https://github.com/react-native-community/react-native-template-typescript

Usage

Create a rn-generator.json file in the root of your project

echo [] > rn-generator.json

Add Project Navigations and screens (as a Array) properties (as a Object) (useState, useEffect, functions, children - react native base compenents) in the rn-generator.json

For more Examples Example JSON

Run the following command in your terminal prompt:

npx @muhtalipdede/rn-generator@latest example
or
npx @muhtalipdede/rn-generator@latest example --only-screen
or
npx @muhtalipdede/rn-generator@latest --help

ScreenShots

drawing

drawing

drawing

drawing

drawing

drawing

Maintainers

Reach me with email:

License

Everything inside this repository is ISC licensed.