Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Luca Greco ecbf8bb89f feat: convert web-ext package into a nodejs native ES module
- 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)
2022-06-03 15:37:15 +02:00
Luca Greco 5d2dfb4302
fix: Upgraded project development environment to babel 7 and webpack 4 (#1505)
* 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
2019-02-20 22:24:56 +01:00
Kumar McMillan 4319436520 chore: Ignore package-lock.json 2018-01-09 10:20:56 -06:00
Luca Greco ecefade29c Add support for code coverage reports 2016-03-03 17:52:35 +01:00
Kumar McMillan 7346a7af76 Add Flow for program validation
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.
2016-02-05 16:57:23 -06:00
Kumar McMillan 2f5c44446e Scaffolding to run a command 2016-02-02 16:12:13 -06:00
Kumar McMillan 7c8c4439cb initial web-ext manifesto 2016-02-01 12:07:45 -06:00