зеркало из
1
0
Форкнуть 0
fx-private-relay-add-on/package.json

57 строки
3.1 KiB
JSON

{
"name": "fx-private-relay-add-on",
"version": "2.8.1",
"description": "Firefox Relay",
"main": "index.js",
"devDependencies": {
"eslint": "^8.13.0",
"web-ext": "^7.6.2"
},
"scripts": {
"build:dirty": "web-ext build -s src/",
"build": "web-ext build -s src/ && npm run build:clean",
"build:clean": "git checkout src/manifest.json src/js/background/background.js src/popup.html",
"build:dev": "npm run build:clean && npm run config:dev && npm run build",
"build:stage": "npm run build:clean && npm run config:stage && npm run build",
"build:prod": "npm run build:clean && npm run config:prod && npm run build",
"build:chrome-dev": "npm run build:clean && npm run config:dev && npm run config:chrome && npm run build:dirty && npm run package:chrome && npm run build:clean",
"build:chrome-stage": "npm run build:clean && npm run config:stage && npm run config:chrome && npm run build:dirty && npm run package:chrome && npm run build:clean",
"build:chrome-prod": "npm run build:clean && npm run config:prod && npm run config:chrome && npm run build:dirty && npm run package:chrome && npm run build:clean",
"config:chrome": "./config-chrome.sh",
"config:dev": "npm run build:clean && ./config-domain.sh https://dev.fxprivaterelay.nonprod.cloudops.mozgcp.net",
"config:stage": "npm run build:clean && ./config-domain.sh https://stage.fxprivaterelay.nonprod.cloudops.mozgcp.net",
"config:prod": "npm run build:clean && ./config-domain.sh https://relay.firefox.com",
"dev": "npm run web-ext-run",
"lint": "eslint src && web-ext build -s src/ -n firefox_relay.zip --overwrite-dest && web-ext lint -s web-ext-artifacts/firefox_relay.zip && rm -f web-ext-artifacts/firefox_relay.zip",
"package:chrome": "zip -r web-ext-artifacts/chrome_relay-${npm_package_version}.zip ./src",
"test": "echo \"Error: no test specified\" && exit 1",
"restore-locales-github": "cd src/_locales && git restore .github/workflows/update-upstream-relay-repo.yml",
"remove-locales-github": "rm -rf src/_locales/.github",
"web-ext-run": "npm run remove-locales-github && web-ext run -s src/",
"web-ext-run:firefox": "npm run web-ext-run -- --target firefox-desktop",
"web-ext-run:firefox-mv3": "npm run web-ext-run -- --firefox-preview --pref=extensions.eventPages.enabled=true --verbose",
"web-ext-run:android": "npm run web-ext-run -- --target firefox-android --adb-device $npm_config_device --firefox-apk org.mozilla.fenix",
"web-ext-run:chrome": "npm run config:chrome && npm run web-ext-run -- --target chromium"
},
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/fx-private-relay-add-on.git"
},
"keywords": [
"firefox",
"privacy",
"email"
],
"author": "Luke Crouch, Maxx Crawford, Vincent Tunru, Kaitlyn Andres, Se Yeon Kim, Lesley Norton",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/mozilla/fx-private-relay-add-on/issues"
},
"homepage": "https://github.com/mozilla/fx-private-relay-add-on#readme",
"volta": {
"node": "16.15.1",
"npm": "8.12.1"
}
}