rn-global-structure

0.0.6 • Public • Published

React Native Custom Template

This is a custom template for initializing new React Native projects. It provides a structured organization of code and includes common features, utilities, and global styles.

Features

  • Components: Reusable UI components.
    • MButton, MIcons, MInput, MText
  • Constants: Constants used throughout the application.
  • Locales: Internationalization files.
  • Main: Entry point of the application.
  • Navigation: Navigation setup.
    • Stack, Tab
  • Screens: Application screens organized by layers.
    • AppLayer, AuthLayer
  • Services: Utility services.
    • API, Navigation
  • Styles: Global styles for colors, fonts, and sizes.
  • Utils: Utility functions.
    • DeviceInfo, Endpoint, Normalize

Getting Started

To use this template, you can initialize a new React Native project using react-native init and specifying this template:

npx react-native init YourAppName --template rn-global-structure

Replace YourAppName with your desired project name.

Authors

/rn-global-structure/

    Package Sidebar

    Install

    npm i rn-global-structure

    Weekly Downloads

    48

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    503 MB

    Total Files

    1412

    Last publish

    Collaborators

    • vardgesavetisyan