-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.js
39 lines (37 loc) · 908 Bytes
/
manifest.js
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
import pkg from "./package.json" assert { type: "json" };
const manifest = {
background: {
scripts: ["src/Background/background.js"],
persistent: false,
},
icons: {
16: "form-filler.png",
32: "form-filler.png",
48: "form-filler.png",
128: "form-filler.png",
},
options_ui: {
page: "src/Options/index.html",
open_in_tab: true,
},
browser_action: {
default_icon: "form-filler.png",
default_title: "Form-Filler",
default_popup: "src/Popup/index.html",
},
web_accessible_resources: ["src/ContentScript/main.jsx"],
permissions: ["activeTab", "tabs", "storage", "<all_urls>"],
browser_specific_settings: {
gecko: {
id: "[email protected]",
},
},
};
export default {
author: pkg.author,
description: pkg.description,
name: pkg.displayName ?? pkg.name,
version: pkg.version,
manifest_version: 2,
...manifest,
};