Built on H5P-Question boilerplate.
Clone the repository and install dependencies.
npm installBuild the project.
npm run buildFor linting with JSHint, use the silent flag to ignore irrelevant errors resulting from a non-zero exit code.
npm run lint -sIf you want to let everything be built continuously while you are making changes to the code, run:
npm run watchThe build process will transpile ES6 to earlier versions in order to improve compatibility to older browsers. If you want to use particular functions that some browsers don't support, you'll have to add a polyfill.
The build process will also move the source files into one distribution file and minify the code.