Skip to content

Commit

Permalink
Merge pull request #227 from HunnySajid/feat/e2e
Browse files Browse the repository at this point in the history
feat(infra): implement new build with vite-web-extension
  • Loading branch information
HunnySajid authored Dec 4, 2024
2 parents 3d618ee + 01c4cc4 commit e38dae9
Show file tree
Hide file tree
Showing 18 changed files with 3,881 additions and 453 deletions.
37 changes: 37 additions & 0 deletions manifest.chrome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"manifest_version": 3,
"name": "Signify Browser Extension",
"version": "0.0.1",
"background": {
"service_worker": "src/pages/background/index.ts"
},
"action": {
"default_popup": "src/pages/popup/index.html",
"default_icon": {
"32": "32_keri_logo.png",
"128": "128_keri_logo.png"
}
},
"icons": {
"32": "32_keri_logo.png",
"128": "128_keri_logo.png"
},
"permissions": ["activeTab", "storage", "alarms"],
"content_scripts": [
{
"matches": ["file://*/*", "http://localhost/*", "https://*/*"],
"run_at": "document_end",
"js": ["src/pages/content/index.tsx"]
}
],
"web_accessible_resources": [
{
"resources": ["128_keri_logo.png"],
"matches": ["<all_urls>"]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'"
}
}

37 changes: 37 additions & 0 deletions manifest.firefox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"manifest_version": 3,
"name": "Signify Browser Extension",
"version": "0.0.1",
"background": {
"scripts": ["src/pages/background/index.ts"]
},
"action": {
"default_popup": "src/pages/popup/index.html",
"default_icon": {
"32": "32_keri_logo.png",
"128": "128_keri_logo.png"
}
},
"icons": {
"32": "32_keri_logo.png",
"128": "128_keri_logo.png"
},
"permissions": ["activeTab", "storage", "alarms"],
"content_scripts": [
{
"matches": ["file://*/*", "http://localhost/*", "https://*/*"],
"run_at": "document_end",
"js": ["src/pages/content/index.tsx"]
}
],
"web_accessible_resources": [
{
"resources": ["128_keri_logo.png"],
"matches": ["<all_urls>"]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'"
}
}

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"web_accessible_resources": [
{
"resources": ["src/assets/img/128_keri_logo.png"],
"resources": ["128_keri_logo.png"],
"matches": ["<all_urls>"]
}
],
Expand Down
Loading

0 comments on commit e38dae9

Please sign in to comment.