🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

template-reactnative-setup

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

template-reactnative-setup

React Native template for a quick start with TypeScript, React Navigation, styled-components, async-storage, dotenv, axios, fastlane, prettier, eslint, jest, react native testing library

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

📄 React Native Template Setup Typescript

React Native template for a quick start with TypeScript, React Navigation, styled-components, async-storage, dotenv, fastlane, prettier, eslint, jest, react native testing library.

⭐ Features

  • Navigation no next screen
  • Authentication Flow user

📚 dependencies

  • Typescript
  • DotEnv
  • Styled-Components
  • Async-Storage
  • React Navigation V6
  • Eslint
  • Fastlane
  • Jest
  • React Native Testing Library
  • Prettier

▶️ How to Execute:

npx create-expo-app NameOfApp --template template-reactnative-setup

⚙️ How to Config Environments:

  • create a file .env, inside these files creates its variables:
BASE_URL=

🎨 Config your styles:

  • create your types variables inside file styled.d.ts
declare module "styled-components/native" {
    export interface DefaultTheme {
        colors: {
            background: string
        }
    }
}
  • create your variables and set your value
export default {
    colors: {
        background: "#FEFEFE"
    }
}

⌨️ Script to run

  • Run your app
    npx expo start --clear
  • Run eslint
    yarn run lint
    yarn run lint: fix
  • Run Prettier
    yarn run format_prettier
  • Run to deploy your app with fastlane
    yarn run deploy:android
    yarn run deploy:ios
    yarn run deploy:android_ios

🤝 Contributing

Contributions are very welcome. Please check out the contributing document.

📖 License

This project is MIT licensed.

Keywords

expo

FAQs

Package last updated on 24 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts