React-Native

A JavaScript framework for making native apps.

Component module

mkdir my-component && cd my-component
yarn init // or npm init
yarn add ... //add dependencies

Export components from index.js

import Component from './src/Component'

export { Component }

Ignore files:

### .gitignore
# Logs
*.log
npm-debug.log

# Runtime data
tmp
build
dist

# Dependency directory
node_modules

### .npmignore
# Logs
*.log
npm-debug.log

# Dependency directory
node_modules

# Runtime data
tmp

# Examples (If applicable to your project)
examples

Finally, yarn publish