Clean and minimalist React Native template for a quick start with TypeScript and components


Keywords
react-native, typescript, template, boilerplate, starter
License
MIT
Install
npm install rn-boiler-template@1.72.30

Documentation

Welcome to the Boilerplate React Native

🎆 Clean and minimalist React Native template for a quick start with TypeScript and so much more components.

Current version: 0.73.6

⭐ Features

  • Elegant usage directly within the RN-Boiler Cli
  • Fastlane
  • Lefthook
  • Boot Splash
  • Expo Image
  • Declare String, Number, Array
  • Consistent with the default React Native template
  • Minimal additional dependencies
  • Lots of built-in components
  • Multiple schema ios(Dev/Prod as default)
  • Multiple productFlavors android (dev/prod as default)

Base config (Now u can config on env)

  • Change App name APP_DISPLAY_NAME on env/(.dev/.prod)
  • Change App id BUNDLE_IDENTIFIER on env/(.dev/.prod)
  • Change App version VERSION_NAME on env/(.dev/.prod)
  • Change App build number VERSION_CODE on env/(.dev/.prod)
  • Change App URL API_URL on env/(.dev/.prod)

Gen app icon and Change app icon by env

Build with: rn-ml

  • Update app icon file from appicon folder
  • Run: yarn app-icon or yarn app-icon:dev
    • Android: auto change flavor script
    • IOS: Change ASSETCATALOG_COMPILER_APPICON_NAME to your respective App Icon Assets (in respective env file)

▶️ Usage

npx rn-boiler MyApp

Args command:

Usage: rn-boiler <project-name> [options]

Arguments:
  project-name                     Project name

Options:
  -v, --version                    Output the current version
  -pm, --package-manager <string>  Use different package manager (choices:
                                   "yarn", "bun", "npm", default: "bun")
  --skip-install                   Skip install dependencies. Default: false.
                                   (default: false)
  --skip-git                       Skip git init. Default: false. (default:
                                   false)
  --verbose                        Default: false. (default: false)
  -h, --help                       display help for command

Preview

Library

🔖 License

This project is MIT licensed.

Contribute

Follow the contribution guide