rn-techtify
v1.2.4
Published
A React Native template CLI
Readme
React Native Techtify CLI
🚀 A simple CLI tool to quickly set up a React Native project using Techtify's templates.
Features
- Choose between JavaScript or TypeScript.
- Automatically clones a pre-configured React Native template.
- Renames the project as per user input.
- Installs dependencies and CocoaPods (if applicable).
Installation
To install this package globally, run:
npm install -g rn-techtifyUsage
To create a new React Native project, simply run:
rn-techtify initSteps:
- Enter your project name.
- Choose your preferred language (JavaScript or TypeScript).
- Navigate to your new project directory and start coding:
cd MyApp && npm startIncluded in the Templates
Every React Native template includes the following features by default:
- Proper folder/file structure
- Localization
appContextwith the basicsApp.jswith routing- Bootsplash splash screen with logo
- Login/Dashboard controlled by
isSignedInflag - UI layout components
Modal.js
Included Libraries:
moti@react-navigation/native@react-navigation/native-stackreact-native-bootsplashreact-native-global-propsreact-native-gesture-handlermomentreact-native-reanimatedreact-native-screensreact-native-svg@fortawesome/fontawesome-svg-core@fortawesome/free-brands-svg-icons@fortawesome/pro-light-svg-icons@fortawesome/pro-regular-svg-icons@fortawesome/pro-solid-svg-icons@fortawesome/react-native-fontawesomereact-native-permissionsreact-native-progress
Dependencies
This CLI tool uses the following packages:
commanderfor handling CLI commands.inquirerfor interactive prompts.chalkfor colorful terminal output.simple-gitfor cloning repositories.child_processfor executing shell commands.fsandpathfor file system operations.
Repository Templates
- TypeScript: Techtify React Native TS Template
- JavaScript: Techtify React Native JS Template
Contributing
Feel free to submit issues and pull requests to improve the CLI.
License
MIT License. See LICENSE for details.
