Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wtetsu/webextensions-webpack-boilerplate
https://github.com/wtetsu/webextensions-webpack-boilerplate
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wtetsu/webextensions-webpack-boilerplate
- Owner: wtetsu
- License: mit
- Created: 2018-09-30T13:04:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-22T13:37:22.000Z (about 3 years ago)
- Last Synced: 2024-08-02T17:40:03.363Z (3 months ago)
- Language: TypeScript
- Size: 545 KB
- Stars: 7
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Test](https://github.com/wtetsu/webextensions-webpack-boilerplate/workflows/CI/badge.svg)](https://github.com/wtetsu/mouse-dictionary/actions?query=workflow%3ATest)
[![codecov](https://codecov.io/gh/wtetsu/webextensions-webpack-boilerplate/branch/master/graph/badge.svg?token=Bly5yadIjQ)](https://codecov.io/gh/wtetsu/webextensions-webpack-boilerplate)
# webextensions-webpack-boilerplate
A simple boilerplate for developing WebExtensions using webpack.
- babel
- Can create different builds for each browser
- UnitTests with Jest| Concern | Implementation |
| -------- | --------------------------------------------- |
| Language | [TypeScript](https://www.typescriptlang.org/) |
| Options | [React](https://reactjs.org/) |
| Testing | [Jest](https://jestjs.io/) |## How to develop
Use npm 6+.
### Preparation
```sh
npm install
```### Build
For Chrome:
```sh
npm run build-chrome
```For Firefox:
```sh
npm run build-firefox
```### Test
Run all the tests.
```sh
npm run test
```Watch mode.
```sh
npm run test-watch
```## License
webextensions-webpack-boilerplate is published under the MIT license.