UNPKG

browser-extension-manager

Version:
110 lines (97 loc) 2.05 kB
{ // Basic info name: '__MSG_appName__', short_name: '__MSG_appNameShort__', description: '__MSG_appDescription__', // Background script background: { service_worker: 'assets/js/components/background.bundle.js', }, // Permissions permissions: [ // 'activeTab', // 'tabs', // 'storage', // 'scripting', ], host_permissions: [ // 'http://*/*', // 'https://*/*', ], // Options page options_ui: { page: 'views/options/index.html', }, // Content scripts content_scripts: [ // { // matches: [ // 'http://*/*', // 'https://*/*', // ], // js: [ // 'assets/js/components/content.bundle.js', // ], // css: [ // 'assets/css/components/content.bundle.css', // ], // run_at: 'document_end', // all_frames: false, // }, ], // Browser action action: { default_title: '__MSG_appName__', default_popup: 'views/popup/index.html', }, // Side panel side_panel: { default_path: 'views/sidepanel/index.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: [ // 'views/sandbox/index.html', ], }, // IDs browser_specific_settings: { gecko: { // id: 'my-addon@example.com', // strict_min_version: '91.0', data_collection_permissions: { required: ['authenticationInfo'], optional: ['technicalAndInteraction'], }, }, }, }