To build and test JS SDK locally, run the following commands:
- Install necessary modules
npm install
- Build the package
npm run build
- Package the dist folder
npm pack
- Install the packaged module in your project
npm install PATH_TO_PACKAGED_FILE
To run unit tests, use the following command:
npm run test
To run prettier
on files, use the following command:
npm run format