1.0.6 • Published 3 years ago
react-native-reused v1.0.6
react-native-reuse
React Native components that can be reused for new projects.
How to see my changes immediately in the example
In the library's package.json
change
"main": "lib/index.js",
to
"main": "src/index.tsx", // or `index.ts` if you don't have JSX there
restart the bundler if you have it running
yarn start
⚠️⚠️⚠️ Don't forget to change this back before making a release, since with npm you supply lib
folder, not src
.
Release
Create an npm account here if you don't have one. Then do
npm login
and
npm publish