- Changes to npm scripts to work as ESM modules
(and replaced webpack with babel-cli as build step)
- Add small custom node module loader (tests/babel-loader.js)
to transpile on the fly (used to make mocha able to load
tests modules using flowtype syntaxes)
- Re-export custom node module loader exports provided by testdouble / quibble
to be able to mock ES modules in some tests (used as part of workaround
for sinon.stub limitations on stubbing ES modules)
- Added babel-plugin-transform-inline-environment-variables to
interpolate environment variable during babel transpiling
(replaces webpack interpolated WEBEXT_BUILD_ENV global)
- converted build scripts and fake firefox and amo scripts to ES modules
- fixed sign-addon import when it is loaded using the nodejs native ES
module loader (caught by functional tests)
* Upgraded project development environment to babel 7 and webpack 4
* Removed unused advisories exceptions from .nsprc
* Added package-lock.json to the git repo
* Re-run functional tests once when failing on travis windows workers
* Add test case for uncovered lines detected by nyc
Because Flow needs to check all of your dependencies, this adds a speed-up
wherby ignoring unimported modules. This makes the standalone flow checker twice
as fast.