dexio-sdk
v0.0.175
Published
shared constants, utils
Downloads
21
Readme
dexioprotocol-sdk
npm init
- creates new package
Link on npm package (shared constants, utils, etc): https://www.npmjs.com/package/dexioprotocol-sdk
To become a Collaborator of this package do the following:
- Create an npm account: https://www.npmjs.com/
- Login to your npm account in terminal
npm adduser
- Ask one of the collaborators to add you to the list of npm package collaborators. Add another user to collaborators (works for existing collaborators of the package):
npm owner add [npm account username]
To work with package in real time, without republishing after any updates, do the following:
- Create a link to the package
yarn link
- in the application where we will use the sdk (links to your local dexioprotocol-sdk):
yarn link dexioprotocol-sdk
- Compile sdk after any changes, watch changes
yarn start
- ...add code
- run prettier:
yarn lint-prettier
- Make build, if the build was successful, go to the next
yarn build
- Publish a new version of the package to npm
yarn publish
- commit, push changes to main
- in the application unlink form local sdk, re-install the package that was linked, update sdk version:
yarn unlink dexioprotocol-sdk
yarn install --force
yarn add dexioprotocol-sdk
npm unpublish <package-name>@<version> // Remove specific version
////