BWell SDK Typescript
Set-Up
After pulling the code base from the GIT repo follow the next steps to install and run the sdk.
- Open a terminal in the home directory of the typescript sdk:
cd ./bwell-sdk-typescript
- Install dependencies
npm install
Commands
Build
Compiles typescript to dist
directory after cleaning directory
npm run build
Testing
Runs all test verbosely and reports coverage
npm test
Coverage
Open coverage report in browser.
npm run coverage
Formatting
Run prettier and format all files that do not conform to
prettier config.
npm run format
Linting
Runs eslint and reports any warnings or errors. Does not fix
errors.
npm run lint