-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.ts
41 lines (39 loc) · 982 Bytes
/
manifest.ts
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
38
39
40
41
import packageJson from "./package.json";
const manifest: chrome.runtime.ManifestV3 = {
manifest_version: 3,
name: "Rs Kit",
version: packageJson.version,
description: packageJson.description,
options_page: "src/pages/options/index.html",
background: { service_worker: "src/pages/background/index.js" },
action: {},
icons: {
"128": "device_128.png",
},
commands: {
"rskit-remote": {
description: "Remote DevTools",
},
},
content_scripts: [
{
matches: ["http://*/*", "https://*/*", "<all_urls>"],
js: ["src/pages/content/index.js"],
css: ["assets/css/contentStyle.chunk.css"],
},
],
devtools_page: "src/pages/devtools/index.html",
permissions: ["tabs", "contextMenus"],
web_accessible_resources: [
{
resources: [
"assets/js/*.js",
"assets/css/*.css",
"device_128.png",
"device_32.png",
],
matches: ["*://*/*"],
},
],
};
export default manifest;