So you want to contribute to the open source community? That’s awesome! Helping to grow React Native’s fairly young ecosystem is great.
When I decided to take on this task not long ago, I noticed there wasn’t much material around publishing React Native components to NPM. So I’m hoping this post will help make the process much easier for others.
Note: All sample code below is from react-native-progress-steps, my very own first NPM package.
Before we get started, make sure to register for an account on NPM. You can do that here.
First, let’s create a folder where our React Native component will live. …