How to Build
Pack verifier-sdk Into Local NPM Package
In your
verifier-sdk
root directory run the following command
./build-sdk-package
It will produce
tgz
file{package-name}-{package-version}.tgz
Using the Package Locally
From
didPass
root directory enter the client app that needsverifier-sdk
package, ex:
cd verifier-demo
Inside your client app
package.json
change thedidpass/verifier-sdk
dependency version into the newtgz
filepath, ex:
"@didpass/verifier-sdk": "file:../verifier-sdk/{package-name}-{package-version}.tgz",
Run
npm install
to install the package in your client app
Last updated