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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ajaysidhu/react-native-template

v9.0.1

Published

It is a minimalist React Native template with preconfigured common set of packages to start a new app.

Downloads

109

Readme

PRs Welcome

react-native-template

A starter kit for initializing a new React-Native project to save at least 1 week's worth of effort with some commonly used preconfigured libraries and folder structure.

Key features:

Prerequisite

  1. Make sure that you have followed the environment setup instructions properly from the official React Native docs.

  2. Make sure that your Cocoapods version is >= 3.5.7. If its lower than 3.5.7, you can update it using the following command:

sudo gem install cocoapods
  1. The installation command will fail if you have the global legacy react-native-cli installed in your machine. Make sure you uninstall it first:
yarn global remove react-native-cli

or if using npm

npm uninstall -g react-native-cli

Quick start

Generate a new React Native(v0.75) app using the @ajaysidhu/react-native-template:

npx @react-native-community/cli@latest init myapp --template @ajaysidhu/react-native-template --skip-install --pm npm --skip-git-init

You might also be prompted to confirm the installation for the packages react-native and husky. Simply hit enter to proceed.

The template will automatically install the npm dependencies and the pods (if you are on the MacOS).

Install from GitHub

If you want to use the template directly from the GitHub or try out the latest features which are not release to the npm yet, then you can run:

npx @react-native-community/cli@latest init myapp --template https://github.com/ajaykumar97/react-native-template.git --skip-install --pm npm --skip-git-init

Notes

  1. Starting React Native v0.74, Xcode does not start Metro bundler automatically. If you are running the app from the XCode, please make sure that your metro bundler is running before running the build from XCode. You can start the metro bundler by running the following command in the root directory of your newly created project using this template:
npm start
  1. Minimum supported versions:
  • iOS: 15
  • Android: 26

Use Older versions

If you want to use an older version of the template, then you can run(replace version with your desired version):

npx @react-native-community/cli@latest init myapp --template @ajaysidhu/react-native-template@version --skip-install --pm npm --skip-git-init

You can look at all versions, that I have published here.

Digging Deeper

Check out the documentation website to learn more about the template.

Configure Google Service Files

If you want to extend the setup further to configure Google Service files for Development, Testing, Staging and Production environments, you can follow my this Medium post.

Need further help?

Thank you for choosing our React Native Template for your mobile app development needs. We're thrilled to contribute to your project's success!

Should you encounter any issues, have questions, or need further assistance using our package to initialise your new mobile app, please don't hesitate to reach out. Our team at Diligentic Infotech is here to help you every step of the way.

Feel free to visit our website Diligentic Infotech to learn more about our services and how we can support your mobile app development journey.

Happy coding, and we look forward to hearing from you!

Roadmap

  • [x] Add react-native-keychain for secured user data storage
  • [ ] Add dark mode
  • [ ] Add docs to explain provided common components usages
  • [ ] Add atomic structure for components
  • [ ] Add common styles
  • [ ] Add website docs versioning
  • [ ] Add RTL languages support