1.0.15 • Published 5 years ago
pawtner-mobile-ui v1.0.15
Pawtner-mobile-ui
Pawtner UI component ui module on React native
Installing pawtner-mobile-ui in your project
Install pawtner-mobile-ui package
npm install pawtner-mobile-uior
yarn add pawtner-mobile-uiHow to develop this package?
- In root folder of this project, create a
tgzfile by running
npm run packor
yarn run packAfter this step, a file with name pawtner-mobile-ui-<version>.tgz will be created locally in root folder
- Go to
examplefolder and installing the newly createdtgzfile
yarn add <absolute-path-to-tgz-file>/pawtner-mobile-ui-<version>.tgz- Use components from the package as normal react native components
import { Badge } from 'pawtner-ui-mobile'Publishing this package
- Build this project
yarn run prepare- Publish package to
npm.js
yarn publishEnter username and password of npmjs pawtner account. Please contact admin to get credential
Publishing storybook
- In root folder, run
yarn build-static-webapp- Commit changes and push to github
- The storybook will be deployed to this site: https://pawtnerstorybook.netlify.app/