Shared library for Toll Group on ShipEngine
npm install @shipengine/toll-shippingThis is a shared library used by Toll Group carriers integrated into SE Connect.
The following environment variables are required for any SE Connect App referencing this library:
- BASIC_AUTH_USER - Toll API User Name
- PASSWORD_UAT - Toll API Test Password
- PASSWORD_PRD - Toll API Production Password
To get the required files and fonts for label-gen, you may need to copy-paste the static folder into the root directory of the connect runtime.
/docs folder.npm link in this directory and then switch to the SE Connect App directory and run npm link @shipengine/toll-shipping.npm run build in this directory when any change is made.src/utils/__tests__. Use npm run test to run them.npm run convert-tracking-events to convert csv tracking event data into json.src/data for each Business ID supported. Business IDs are defined in src/utils/constants.ts.npm run build and unit tests succeed with npm run test.package.json then run npm install to increment version in package-lock.jsonnpm publish --dry-run to make sure everything looks correct.npm publish and the public npm library should have its version incremented.