@arc-publishing/sdk-sales
Version:
JS Sales SDK for working with Arc Subs Sales API
32 lines (20 loc) • 837 B
Markdown
# sdk-sales



## Quick start
- `yarn`
Then, to run unit tests:
- `yarn test`
to run development page locally
- `yarn start`
That's it!
## Docs
API Docs https://redirector.arcpublishing.com/alc/docs/api/arc-sdks/index.html
## Commands
- `yarn start` - starts a server at http://localhost.arcpublishing.com/ using the umd bundle. The SDK will be located in `window.Sales`.
- `yarn run build` - build, esm, commonjs, and umd versions of the library.
- `yarn test` - run jest tests.
- `yarn test:ci` - run jest tests and save report artifact (ci-mode)
- `yarn test:watch` - run `jest --watch`
- `yarn test:coverage` - show coverage report after running tests and generates badges.