react-native-tc-conversations-web
v0.8.10-9
Published
## Getting started
Downloads
39
Readme
react-native-tc-conversations
Getting started
When developing/testing this module locally you will need to use the comms app.
Building
Note: you will need to install tsdx
and file-directives
with the -g flag in order to properly run the script commands.
There is a script under /build/buildAndPublish.sh that will copy files accordingly into /staging
folder and even auto increment and publish to npm.
It will only build for web mode, either removing the .web.tsx extensions of certain files or rename them to drop the .web, thus replacing the original file.
If a parameter major | minor | patch
is passed, it will also call npm version {parameter}
and npm publish
afterwards to automatically publish a release. Remember to also update build/package.web.json
to reflect this latester version number.
To build:
- Run
npm run prep
for web bundling. This package is already setup to run in the same mono-repo as the app. - 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