feat: add web-ext tooling for Firefox signing
Add package.json with web-ext dev dependency and npm scripts for building, linting, signing, and running the Firefox extension. Signing produces a self-hosted .xpi that persists across restarts without needing the Mozilla store. https://claude.ai/code/session_01Dvgwe7XMoSxnWXkih8p1Cw
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "silent-send",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"description": "Browser extension that substitutes personal data before sending to AI services",
|
||||
"scripts": {
|
||||
"build:chrome": "./build.sh chrome",
|
||||
"build:firefox": "./build.sh firefox",
|
||||
"build": "./build.sh both",
|
||||
"lint:firefox": "npx web-ext lint --source-dir dist/firefox",
|
||||
"sign:firefox": "./build.sh firefox && npx web-ext sign --source-dir dist/firefox --artifacts-dir dist/firefox-signed --channel unlisted",
|
||||
"run:firefox": "./build.sh firefox && npx web-ext run --source-dir dist/firefox"
|
||||
},
|
||||
"devDependencies": {
|
||||
"web-ext": "^8.4.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user