From 31d5e127cc26ec56f07ca6f2fbc293dde4800a18 Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 6 Jul 2025 06:14:22 -0400 Subject: [PATCH] add firefox specific changes --- manifest.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 4be9761..4097a36 100644 --- a/manifest.json +++ b/manifest.json @@ -151,7 +151,7 @@ "default_popup": "popup.html" }, "background": { - "service_worker": "background.js", + "scripts": ["background.js"], "type": "module" }, "icons": { diff --git a/package.json b/package.json index 4deb158..2db31b2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "rename:model": "mv dist/models/nli-deberta-v3-small/onnx/model.onnx dist/models/nli-deberta-v3-small/onnx/model.onnx_quantized.onnx", "copy:config_and_tokenizer": "cpx \"./nli-deberta-v3-small/*.json\" dist/models/nli-deberta-v3-small/", "build": "npm run clean && npm run copy:static && npm run copy:transformers && npm run copy:config_and_tokenizer && npm run copy:model_temp && npm run rename:model", - "release": "npm run build && cd dist && bestzip ../praxis-v${npm_package_version}-chrome.zip *" + "release": "npm run build && cd dist && bestzip ../praxis-v${npm_package_version}-firefox.zip *" }, "devDependencies": { "cpx": "^1.5.0",