Add web-ext and ci artifact generation

This commit is contained in:
Jeremy Plsek
2019-12-29 19:24:05 -05:00
parent 9cb4fd6f79
commit 8d0b032eb6
5 changed files with 7661 additions and 1 deletions

View File

@@ -50,6 +50,16 @@ You can read the API docs [here](https://github.com/ajayyy/SponsorBlockServer#ap
You can load this project as an unpacked extension. Make sure to rename the `config.js.example` file to `config.js` before installing.
There are also other build scripts available. Install `npm`, then run `npm install` in the repository.
## Developing with a clean profile
Run `npm run dev` to run the extension using a clean Firefox profile with hot reloading.
## Packing
Run `npm run build` to generate a packed extension.
# Credit
The awesome [Invidious API](https://github.com/omarroth/invidious/wiki/API) is used to grab the time the video was published.