Skip to content

S-YOU/webextensions-webpack-boilerplate

 
 

Repository files navigation

webextensions-webpack-boilerplate

A simple boilerplate for developing WebExtensions using webpack.

  • babel
  • Can create different builds for each browser
  • UnitTests with Jest

How to develop

Use npm 6+.

Preparation

npm install

Build

For Chrome:

npm run build-chrome

For Firefox:

npm run build-firefox

Unit tests

Run the all the tests.

npm run test

And here is an useful way that re-run tests automatically when a file has changed.

npm run test-watch

License

webextensions-webpack-boilerplate is published under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.1%
  • HTML 7.9%