react-native-tc-conversations-test-2
v0.6.8
Published
## Getting started
Downloads
11
Readme
react-native-tc-conversations
Getting started
When developing/testing this module locally you will need to use the comms app.
Building
There is a script under /build/buildAndPublish.sh that will copy files accordingly into /staging
folder and even auto increment and publish to npm.
Depending if the first parameter web
was passed to the script, it will either remove the .web.tsx extentions of certain files or rename them to drop the .web, thus replacing the original file.
If a second parameter major | minor | patch
is patched, it will also call npm version {parameter}
and npm publish
afterwards to automatically publish a release. Remember to also update /build/package.native.json
and build/package.web.json
to reflect this latester version number.
To build:
- Run
npm run prep
for native,npm run prep web
for web bundling - This will copy files into the
staging
folder and runnpm run build
against it
To publish/release:
- Ensure you are logged into npm via
npm login
- ask the team for the credentials. - Ensure the npm versions in package.native.json and package.web.json is set to the current released version.
- Run
npm run publishWeb {parameter}
ornpm run publishNative {parameter}
where parameter is as described above to increment the version number and publish to npm, ie.npm run publishWeb patch