2 "name": "proton-pass-extension",
3 "description": "Password Manager Browser Extension",
6 "build:extension": "cross-env NODE_ENV=production BUILD_TARGET=${BUILD_TARGET:-chrome} CLEAN_MANIFEST=true sh -c 'yarn clean && yarn run config && yarn build:extension:helper'",
7 "build:extension:all": "./tools/build-all.sh",
8 "build:extension:dev": "cross-env NODE_ENV=development BUILD_TARGET=${BUILD_TARGET:-chrome} sh -c 'yarn clean && yarn run config:dev && yarn build:extension:helper'",
9 "build:extension:ff": "cross-env RELEASE=true NODE_ENV=production BUILD_TARGET=firefox CLEAN_MANIFEST=true sh -c 'cat ./src/app/config.ff-release.ts > ./src/app/config.ts && yarn run build:extension:helper'",
10 "build:extension:helper": "NODE_ENV=production webpack --config webpack.config.js && ./tools/release.sh ./dist",
12 "check-types:watch": "tsc --watch",
13 "clean": "rm -rf ./dist/",
14 "config": "yarn config:extension --api=https://pass-api.proton.me/api --sso=https://account.proton.me",
15 "config:dev": "SUFFIX=\"-dev\" yarn config:extension --api=https://account.proton.black/api --sso=https://account.proton.black",
16 "config:extension": "proton-pack config --no-api-proxy --version=\"$(node -e \"process.stdout.write(require('./manifest-${BUILD_TARGET:-chrome}.json').version)\")${SUFFIX:+$SUFFIX}\"",
17 "i18n:extract:extension": "proton-i18n extract",
18 "i18n:validate": "proton-i18n validate lint-functions",
19 "i18n:validate:context:extension": "proton-i18n validate",
20 "postinstall": "yarn run config",
21 "lint": "eslint src --ext .js,.ts,.tsx --quiet --cache",
22 "pretty": "prettier --write $(find src/app -type f -name '*.js' -o -name '*.ts' -o -name '*.tsx')",
23 "start": "yarn clean && yarn config:dev && RESUME_FALLBACK=true node ./tools/dev-server.js",
24 "start:prod": "yarn clean && yarn run config && node ./tools/dev-server.js",
25 "start:reload": "cross-env RUNTIME_RELOAD=true sh -c 'yarn start'",
26 "test": "jest --coverage",
27 "test:ci": "jest --coverage --runInBand --ci",
28 "test:watch": "jest --watch"
31 "@proton/icons": "workspace:^",
32 "@proton/pass": "workspace:^",
33 "@redux-devtools/remote": "^0.9.3",
34 "react-helmet": "^6.1.0",
35 "webextension-polyfill": "^0.12.0"
38 "@proton/i18n": "workspace:^",
39 "@proton/jest-env": "workspace:^",
40 "@proton/pack": "workspace:^",
41 "@types/react-helmet": "^6.1.11",
42 "@types/webextension-polyfill": "^0.12.1",
43 "babel-plugin-transform-require-context": "^0.1.1",
44 "cross-env": "^7.0.3",
48 "typescript": "^5.7.2",
50 "webpack-dev-server": "^5.1.0"