Source & Building
You can install this package with npm or by downloading the latest release of this repository. You have to build the files yourself. We're using gulp & rollup for building the dist-files, which creates IIFE, UMD, CommonJS and ES modules.
The following gulp tasks are available:
defaultis the build taskbuildcleans the dist directory and builds & minifies the dist-filesrollupcreates the dist module files via rollupminifyminifies the files in dist directory
The following npm scripts are available:
buildrunsgulp buildlintruns eslint on source directorytestrunsunit-testunit-testruns jest unit-testsbrowser-testruns testcafe browser-teststest-serverstarts a simple http server serving a basic html file with the library included for testingpostversionrunsgit push --follow-tagsfor pushing tags to git after running npm version