npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

my-react-native-boilerplate

v1.0.17

Published

A custom React Native template with pre-installed packages

Downloads

1

Readme

This is a new React Native project, bootstrapped using @react-native-community/cli.

Getting Started

Note: Make sure you have completed the Set Up Your Environment guide before proceeding.

Step 1: Install React Native project using the template

First, you will need to install React Native by using this boilerplate.

To install, replace app Name by removing MyNewApp and add custom App name and run the following command from the project location:

npx @react-native-community/cli init MyNewApp --version 0.78.2 --template my-react-native-boilerplate

Step 2: Install node module

then, you will need to install Node Module and Pod.

To install Node, navigate to your custom app name directory and run the following command from the root of your React Native project based on above app name :

#navigate to the app directory
cd MyNewApp

# using Yarn
yarn install

# OR using npm
npm install

Step 2: Start Metro

Now, you will need to run Metro, the JavaScript build tool for React Native.

To start the Metro dev server, run the following command from the root of your React Native project:

# Using npm
npm start

# OR using Yarn
yarn start

Step 2: Build and run your app

With Metro running, open a new terminal window/pane from the root of your React Native project, and use one of the following commands to build and run your Android or iOS app:

Android

# Using npm
npm run android

# OR using Yarn
yarn android

iOS

For iOS, remember to install CocoaPods dependencies (this only needs to be run on first clone or after updating native deps).

The first time you create a new project, run the Ruby bundler to install CocoaPods itself:

bundle install

Then, and every time you update your native dependencies, run:

bundle exec pod install

For more information, please visit CocoaPods Getting Started guide.

# Using npm
npm run ios

# OR using Yarn
yarn ios

If everything is set up correctly, you should see your new app running in the Android Emulator, iOS Simulator, or your connected device.

This is one way to run your app — you can also build it directly from Android Studio or Xcode.

Now that you have successfully run the app, let's make changes!

  • Android: Press the R key twice or select "Reload" from the Dev Menu, accessed via Ctrl + M (Windows/Linux) or Cmd ⌘ + M (macOS).
  • iOS: Press R in iOS Simulator.

Congratulations! :tada:

You've successfully run your React Native App. :partying_face:

For Template updates and bug-fixes

To update and fix bug on template you should do the changes in code and Update the Version in package.json by below command.

for same version patch

Eg: for 1.2.3 → 1.2.4

npm version patch --no-git-tag-version

for minor version update

Eg: 1.2.3 → 1.3.0

npm version minor --no-git-tag-version

for major version update

Eg: for 1.2.3 → 2.0.0

npm version major --no-git-tag-version

Or else you can change in package.json file manually without above commands

After changing the version, Test the Updated Template Locally.

in order to do archive that we have to create .tgz file my-react-native-boilerplate-X.X.X.tgz using below command

npm pack

now change the file location of below command and test.(Optional)

npx @react-native-community/cli init TestApp --version 0.78.2 --template file:/Users/__APP_NAME__/my-react-native-boilerplate-X.X.X.tgz

Once tested publish the new version to NPM by below command

npm publish

That’s it — the new version is live :tada:

Troubleshooting

If you're having issues getting the above steps to work, see the Troubleshooting page.

Learn More

To learn more about React Native, take a look at the following resources: