added dev and build scripts for firefox

This commit is contained in:
SethBurkart123
2024-01-26 12:36:23 +11:00
parent 7f045743f3
commit b7c4fa8817
3 changed files with 5 additions and 57 deletions
-42
View File
@@ -1,42 +0,0 @@
{
"manifest_version": 3,
"name": "BetterSEQTA+",
"version": "3.2.2",
"description": "Make SEQTA usable and beautiful! A fork of BetterSEQTA to continue development and add WAY more features!!!",
"icons": {
"32": "src/resources/icons/icon-32.png",
"48": "src/resources/icons/icon-48.png",
"64": "src/resources/icons/icon-64.png"
},
"action": {
"browser_style": true,
"default_popup": "src/interface/index.html#settings",
"default_icon": {
"32": "src/resources/icons/icon-32.png",
"48": "src/resources/icons/icon-48.png",
"64": "src/resources/icons/icon-64.png"
}
},
"permissions": ["tabs", "notifications", "storage"],
"host_permissions": ["https://newsapi.org/", "*://*/*"],
"background": {
"service_worker": "src/background.ts",
"type": "module"
},
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["src/SEQTA.ts"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": [
"public/*",
"src/*"
],
"matches": ["*://*/*"]
}
]
}
+5 -1
View File
@@ -5,7 +5,11 @@
"description": "BetterSEQTA+ is a browser extension that adds features to SEQTA.", "description": "BetterSEQTA+ is a browser extension that adds features to SEQTA.",
"scripts": { "scripts": {
"dev": "parcel watch manifest.json --host localhost --config @parcel/config-webextension --no-hmr --no-content-hash", "dev": "parcel watch manifest.json --host localhost --config @parcel/config-webextension --no-hmr --no-content-hash",
"build": "parcel build manifest.json --config @parcel/config-webextension --no-content-hash", "build": "parcel build manifest.json --config @parcel/config-webextension --no-content-hash --no-cache",
"dev-firefox": "parcel watch firefox/manifest.json --host localhost --config @parcel/config-webextension --no-hmr --no-content-hash",
"build-firefox": "parcel build firefox/manifest.json --config @parcel/config-webextension --no-content-hash --no-cache",
"eslint": "eslint --fix .", "eslint": "eslint --fix .",
"package": "7z a -tzip extension.zip ./build/*" "package": "7z a -tzip extension.zip ./build/*"
}, },
-14
View File
@@ -1,14 +0,0 @@
.hide {
opacity: 0;
pointer-events: none;
}
.outside-container {
margin: 0;
overflow: hidden;
position: absolute;
right: 10px;
top: 80px;
height: 590px;
z-index: 20;
}