Skip to content

Latest commit

 

History

History
27 lines (27 loc) · 614 Bytes

DEV.md

File metadata and controls

27 lines (27 loc) · 614 Bytes

Development guide

Once cloned, update npm dependencies to install required tooling by entering:

npm update

Build

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.

Test

To run the tests, enter:

npm run test

Package

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.

Document

To create the HTML documentation for the public API:

npm run document