Make sure you have NodeJS and npm installed before you continue.
npm install
# bundleing to build/diagram.js with sourcemaps. not minified. ES6
npm run build-dev
# building and rebuilding on file changes
npm run build-watch
# bundles a minified diagram.js and css in a standalone html file. transpiled to ES5
# ! - not yet fully implemented - !
npm run build-prod