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

@echobind/expo-typescript

v2.0.1

Published

Expo Starter template with TypeScript

Downloads

196

Readme

Quick start

  1. Install Expo CLI with npm install --global expo-cli or yarn global add expo-cli.
  2. Create new React Native project with expo init --template @echobind/expo-typescript.
  3. Change directory to your project's folder with cd <your-project-name>.
  4. Run Metro Bundler with yarn start.
  5. Build and run the project with yarn ios or yarn android.

Happy hacking! 🤓

Setting up a Development Client

This template is set up to use Expo Development Builds, which let you test your app on an iOS or Android device without having to install Xcode or Android Studio.

If your app is simple and you want to use Expo Go, just remove the --dev-client from the "start" script in package.json.

If you are planning on adding some custom modules to your app, you'll need to create a custom development client and install it on your device. There are a few steps you'll need to do first.

  • Add a URI Scheme to your app by running npx uri-scheme add customscheme
  • Follow these instructions to set up and create the development build with EAS Build.
    • Sign up for an Expo account
    • Install the Expo and EAS CLIs
    • Sign in to the EAS CLI
    • Register your device
    • Build the development build

Note that you will need an Apple Developer account and an Expo account to use EAS Build. You do not however need to pay the $100 development fee.

  • Install the built app on your test device.
  • Start the app (make sure you are using the expo start --dev-client command)
  • Scan the resulting QR code with your camera to open your app connected

If the QR code doesn't work, you can manually connect to the bundler by shaking the phone, choosing "Configure Bundler" and entering your computer's IP address.

TODOs

  • Contexts (any reusable ones)
  • Common reusable UI components
  • Expo splashscreen
  • Hopefully some e2e testing

Available commands

  • yarn start - start Metro Bundler.
  • yarn ios - build and run iOS.
  • yarn android - build and run Android.
  • yarn lint, lint:fix - check code for errors.
  • yarn g:<generator name> - generate some code (see package.json for specific scripts).