add "lint-ext" job and fix manifest

This commit is contained in:
Jörn-Michael Miehe 2023-12-30 03:14:50 +00:00
parent 4a3a0e3832
commit 12f292bb1d
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "webpack --config webpack.config.js", "build": "webpack --config webpack.config.js",
"lint-ext": "web-ext lint --source-dir=dist",
"build-ext": "web-ext build --source-dir=dist --artifacts-dir=dist --overwrite-dest" "build-ext": "web-ext build --source-dir=dist --artifacts-dir=dist --overwrite-dest"
}, },
"devDependencies": { "devDependencies": {

View file

@ -11,7 +11,7 @@
}, },
"content_scripts": [ "content_scripts": [
{ {
"js": ["dist/main.js"], "js": ["main.js"],
"matches": ["*://*.lenameyerlandrut-fanclub.de/*"] "matches": ["*://*.lenameyerlandrut-fanclub.de/*"]
} }
], ],