Once cloned, update npm dependencies to install required tooling by entering:
npm update
To build, enter:
npm run build
The output will be under the folder ./lib/node with ./lib/node/index.js as the main entry point.
To run the tests, enter:
npm run test
To package for the web, enter:
npm run package
The output will be in the folder ./lib/web with ./lib/web/state.js as the file to include in the <script>
tag.
To create the HTML documentation for the public API:
npm run document