-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest.js
More file actions
37 lines (37 loc) · 882 Bytes
/
manifest.js
File metadata and controls
37 lines (37 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
export default {
manifest_version: 3,
name: "Qlty",
version: "1.0",
description: "Universal code quality tool",
browser_specific_settings: {
gecko: {
id: "qlty@qlty.sh",
strict_min_version: "110.0",
},
},
permissions: ["activeTab", "storage"],
action: {
default_title: "Qlty Settings",
default_popup: "src/settings.html",
},
content_scripts: [
{
matches: ["https://github.com/*/pull/*", "https://github.com/*/commit/*"],
js: ["./src/coverage.ts"],
},
{
matches: [
`${process.env.VITE_LOGIN_URL ?? "https://qlty.sh"}/auth/browser?*`,
],
js: ["./src/auth.ts"],
},
],
host_permissions: [`${process.env.VITE_API_URL ?? "https://api.qlty.sh"}/*`],
background: {
service_worker: "./src/service_worker.ts",
},
icons: {
48: "icon48.png",
128: "icon128.png",
},
};