Skip to content

Commit

Permalink
formatting manifests - ms
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsof21 committed Oct 4, 2022
1 parent 1f4aeeb commit 406dfd1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
"webpack-cli": "^4.10.0",
"webpack-visualizer-plugin2": "^1.0.0"
}
}
}
31 changes: 8 additions & 23 deletions public/manifest.chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@
},
"content_scripts": [
{
"matches": [
"https://*.destinyitemmanager.com/*"
],
"js": [
"js/voiceDim.js"
],
"css": [
"css/voiceDim.css"
]
"matches": ["https://*.destinyitemmanager.com/*"],
"js": ["js/voiceDim.js"],
"css": ["css/voiceDim.css"]
}
],
"commands": {
Expand All @@ -42,21 +36,12 @@
"page": "html/options.html",
"open_in_tab": true
},
"host_permissions": [
"https://www.bungie.net/*"
],
"permissions": [
"tabs",
"storage"
],
"host_permissions": ["https://www.bungie.net/*"],
"permissions": ["tabs", "storage"],
"web_accessible_resources": [
{
"resources": [
"icons/icon_large.png"
],
"matches": [
"https://*.destinyitemmanager.com/*"
]
"resources": ["icons/icon_large.png"],
"matches": ["https://*.destinyitemmanager.com/*"]
}
]
}
}
22 changes: 6 additions & 16 deletions public/manifest.firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,13 @@
"version": "1.2.2",
"manifest_version": 2,
"background": {
"scripts": [
"js/background.js"
]
"scripts": ["js/background.js"]
},
"content_scripts": [
{
"matches": [
"https://*.destinyitemmanager.com/*"
],
"js": [
"js/voiceDim.js"
],
"css": [
"css/voiceDim.css"
]
"matches": ["https://*.destinyitemmanager.com/*"],
"js": ["js/voiceDim.js"],
"css": ["css/voiceDim.css"]
}
],
"commands": {
Expand Down Expand Up @@ -50,7 +42,5 @@
"https://www.bungie.net/common/**",
"https://api.speechly.com/**"
],
"web_accessible_resources": [
"icons/icon_large.png"
]
}
"web_accessible_resources": ["icons/icon_large.png"]
}

0 comments on commit 406dfd1

Please sign in to comment.