capture-es: bitdrift SDK integration
To install dependencies, run
$ npm ci
Builds the electron library in debug mode:
Buld the electron library in release mode, suitable for distribution:
Runs the test suite:
After building capture-es, you can explore its exports at the Node REPL:
$ nx build electron
$ node
> require('./dist/native.node').init("<api key>")
To distribute the electron library, run:
nx build electron -c release
npm pack ./dist/electron
This produces a .tgz in the project root that can be distributed and installed with npm.