New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-awesome-template

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-awesome-template

A React Native starter template to have a better product and development experience

latest
Source
npmnpm
Version
2.2.0
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-awesome-template

A React Native starter template to have a better product and development experience

📢 Introduction (Why?)

When developing a real-world application, more careful consideration is required. This becomes even more apparent when a team, comprising developers with varying levels of expertise, works on a project.

Whether collectively or individually, maintaining the application necessitates adherence to specific rules to uphold project quality and minimize issues. Therefore, the purpose of this template, which centers on the development setup, is to aid in achieving the goal by providing essential configuration and addressing concerns, ultimately resulting in a better product.

💫 Features

  • 🐶 Configuring husky, a popular Git hook tool, simplifies the setup and management of pre-commit hooks. Currently, pre-commit, pre-push, and commit-msg hooks have configured.

  • 💅 Configuring lint-staged allows for code linting before committing, ensuring that no errors make their way into the repository and enforcing consistent code style.

  • ✍️ Configuring commitlint enables linting of commit messages, enforcing a consistent format that promotes clarity and understanding the changes made to your project.

  • 🧹 Removing logs in production mode improves performance and prevents potential concerns that may arise from logging.

  • 🗂️ Setting up configuration for paths with the @/ absolute prefix provides a better and more convenient experience when importing files.

📀 Installation

Step 1

npx react-native init MyApp --template react-native-awesome-template

Or specific version

npx react-native init MyApp --template react-native-awesome-template@1.6.0
VersionReact Native
v2.2.0v0.74.2
v2.1.0v0.74.1
v2.0.0v0.74.0
v1.7.0v0.73.7
v1.6.0v0.73.6

Step 2

On the terminal in the project path run the following command to initialize husky:

yarn prepare

//or

npm run prepare

🛡️ License

MIT

Keywords

react-native

FAQs

Package last updated on 18 Jun 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