From the root of this repository,
Build the @dfinity/response-verification
package:
./scripts/package.sh
Link @dfinity/response-verification
globally:
pushd ./pkg && sudo npm link && popd
Change into this project's directory:
cd examples/nodejs
Install NPM modules:
npm install
Link @dfinity/response-verification
in this project:
npm link @dfinity/response-verification
Run:
npm start
Compile TypeScript:
npm run build
Run:
node ./dist/index.js