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

pivot-expo

v1.0.0

Published

This is the cross-platform client application for the Pivot platform. We build for iOS, Android, and web based on this React Native project.

Downloads

12

Readme

pivot-expo

This is the cross-platform client application for the Pivot platform. We build for iOS, Android, and web based on this React Native project.

React Storybook

It is worth reading this article on Design System in order to have a good idea of how we should be building some of our components and understanding Storybook in general.https://storybook.js.org

Important Storybook Links

All references to .js or .jsx should be converted to .ts or .tsx respectively.

Testing

For testing we are using React Testing Library together with Jest

GraphQL

Apollo Studio

Create a new api key here and add APOLLO_KEY to your global environment with the value of the newly created key.

  • Schema Generation: We use codegen to generate our graphql schema. This helps us share types between our backend and frontend. We use Apollo Rover to download the latest schema from Apollo Studio.

Environment Variables

Please make sure you have .env with values similar to the ones in .env.example. The environment variables are loaded inside app.config.ts. This makes sure that the environment variables needed by the app are available to the application before you can build or start.

Importing and New Environment Variables.

You should only import the Config from src/config. When new variables are needed, make sure to add them to the interface, variables, .env and .env

Expo Dev Client

We have setup expo-dev-client in our app to support the bare react-native libraries in our expo manged workflow.

To start expo-dev-cleint based project run npm run start inside apps/expo. This will propmt QRCode and other options on the console, where you can selete and option for your desired platform to test your app.

If you want to start directly on a specific platform (ios/android) then run bellow inside apps/expo :

  • ios npm run ios

  • android npm run android

how expo-dev-client works

Above 2 scripts will build the project and launch on android/ios(device/simulator) in case you have ios/android folder inside apps/expo. Otherwise it will generate android/ios folder inside apps/expo, install dependencies (In case dependencies installation fails you can manually install by npm install inside apps/expo), pod install (for ios only), build for android/ios and launch on android/android(device/simulator).