This PR add the minimal non break change to support ES module and keep umd bundle as is today
It converts the main source file to ES module and adapt the test setup to load it (upgraded mocha to support running ES module)
It adds a rollup config that creates a umd bundle in prepublishOnly script. This bundle keeps the same custom functionality as is today (auto register in chai when used as script)
Fixes #138
This PR add the minimal non break change to support ES module and keep umd bundle as is today
It converts the main source file to ES module and adapt the test setup to load it (upgraded mocha to support running ES module)
It adds a rollup config that creates a umd bundle in prepublishOnly script. This bundle keeps the same custom functionality as is today (auto register in chai when used as script)