Skip to content

Commit

Permalink
chore: manifest formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
phaux committed Jun 1, 2024
1 parent f8161ac commit 61c9a47
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
"prettier-plugin-packagejson"
],
"printWidth": 100,
"semi": false
"semi": false,
"overrides": [
{
"files": "manifest.json",
"options": {
"parser": "json-stringify"
}
}
]
},
"dependencies": {
"preact": "^10.21.0",
Expand Down
15 changes: 12 additions & 3 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"48": "./images/telegram.png?width=48",
"96": "./images/telegram.png?width=96"
},
"permissions": ["https://api.telegram.org/*", "contextMenus", "storage", "notifications"],
"permissions": [
"https://api.telegram.org/*",
"contextMenus",
"storage",
"notifications"
],
"browser_action": {
"default_icon": {
"48": "./images/telegram.png?width=48"
Expand All @@ -28,8 +33,12 @@
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["./content_scripts/index.ts"]
"matches": [
"<all_urls>"
],
"js": [
"./content_scripts/index.ts"
]
}
],
"options_ui": {
Expand Down

0 comments on commit 61c9a47

Please sign in to comment.