chore: fix the license
feat: add a default config

So that we can remove it from the default Karma config in karma/config.js.
refactor: use onExit rather than explicit emitter
feat: normalize the outputFile path

We used to this in Karma's config, but it really belongs here.
refactor: remove unused var