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:
default
is the build taskbuild
cleans the dist directory and builds & minifies the dist-filesrollup
creates the dist module files via rollupminify
minifies the files in dist directory
The following npm scripts are available:
build
runsgulp build
lint
runs eslint on source directorytest
runsunit-test
unit-test
runs jest unit-testsbrowser-test
runs testcafe browser-teststest-server
starts a simple http server serving a basic html file with the library included for testingpostversion
runsgit push --follow-tags
for pushing tags to git after running npm version