mirror of
https://github.com/facebook/lexical.git
synced 2025-05-17 06:59:17 +08:00

* chore: components and popups folder * fix: run scripts on document_end * feat: make icons and popups dynamic * fix: restricted page handling Co-authored-by: Adithya Vardhan <im-adithya@Adithyas-MacBook-Air.local>
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Lexical Developer Tools",
|
|
"description": "Adds Lexical debugging tools to the Browser Developer Tools.",
|
|
"version": "0.0",
|
|
"version_name": "0.0",
|
|
"minimum_chrome_version": "60",
|
|
"icons": {
|
|
"16": "icons/16-production.png",
|
|
"32": "icons/32-production.png",
|
|
"48": "icons/48-production.png",
|
|
"128": "icons/128-production.png"
|
|
},
|
|
"browser_action": {
|
|
"default_icon": {
|
|
"16": "icons/16-disabled.png",
|
|
"32": "icons/32-disabled.png",
|
|
"48": "icons/48-disabled.png",
|
|
"128": "icons/128-disabled.png"
|
|
},
|
|
"default_popup": "popups/disabled.html"
|
|
},
|
|
"devtools_page": "src/main/index.html",
|
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
|
"web_accessible_resources": ["src/inject/index.js"],
|
|
"background": {
|
|
"scripts": ["src/background/index.js"]
|
|
},
|
|
"permissions": ["file:///*", "http://*/*", "https://*/*"],
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["src/content/index.js"],
|
|
"run_at": "document_end"
|
|
}
|
|
]
|
|
}
|