browser-extension-manager
Version:
Browser Extension Manager dependency manager
100 lines (88 loc) • 1.74 kB
JSON
{
// Basic info
name: '__MSG_appName__',
description: '__MSG_appDescription__',
// Background script
background: {
service_worker: 'assets/js/background.bundle.js',
},
// Permissions
permissions: [
// 'activeTab',
// 'tabs',
// 'storage',
// 'scripting',
],
host_permissions: [
// 'http://*/*',
// 'https://*/*',
],
// Options page
options_ui: {
page: 'pages/options.html',
},
// Content scripts
content_scripts: [
// {
// matches: [
// 'http://*/*',
// 'https://*/*',
// ],
// js: [
// 'assets/js/content.bundle.js',
// ],
// css: [
// 'assets/css/content.bundle.css',
// ],
// run_at: 'document_end',
// all_frames: false,
// },
],
// Browser action
action: {
default_title: '__MSG_appName__',
default_popup: 'pages/popup.html',
},
// Content security policy
content_security_policy: {
extension_pages: "script-src 'self'; object-src 'self'; worker-src 'self';",
},
// Web accessible resources
externally_connectable: {
matches: [
],
},
// Web accessible resources
web_accessible_resources: [
// {
// matches: [
// '<all_urls>',
// ],
// resources: [
// 'assets/styles/content.bundle.css',
// ],
// },
],
// Commands
commands: {
// test: {
// description: 'Test',
// suggested_key: {
// default: 'Alt+T',
// },
// },
},
// Sandbox
sandbox: {
pages: [
// 'pages/sandbox.html',
],
},
// IDs
browser_specific_settings: {
gecko: {
// id: 'my-addon@example.com',
// strict_min_version: '91.0',
},
},
}