2 "name": "proton-pass-desktop",
4 "description": "Proton Pass desktop application",
7 "main": ".webpack/main",
9 "build:desktop": "cross-env-shell NODE_ENV=production 'yarn run build:native && yarn run config && electron-forge package'",
10 "build:desktop:dev": "cross-env-shell NODE_ENV=production 'yarn run build:native && yarn run config:dev && electron-forge package'",
11 "build:native": "cd native && yarn build:multi",
12 "check-electronegativity": "electronegativity -i src/",
14 "config": "proton-pack config --no-api-proxy --api=https://pass.proton.me/api --sso=https://account.proton.me",
15 "config:dev": "proton-pack config --no-api-proxy --api=https://pass.proton.black/api --sso=https://account.proton.black --version=\"$(node -e \"process.stdout.write(require('./package.json').version)\")-dev\"",
16 "i18n:extract:desktop": "proton-i18n extract",
17 "i18n:getlatest": "proton-i18n upgrade",
18 "i18n:upgrade": "proton-i18n extract --verbose && proton-i18n crowdin -u --verbose",
19 "i18n:validate": "proton-i18n validate lint-functions",
20 "i18n:validate:context:desktop": "proton-i18n validate",
21 "postinstall": "yarn run config",
22 "lint": "eslint src --ext .js,.ts,.tsx --cache",
23 "make": "electron-forge make --skip-package",
24 "pretty": "prettier --write $(find src/app -type f -name '*.js' -o -name '*.ts' -o -name '*.tsx')",
25 "start": "yarn config:dev && electron-forge start",
27 "test:ci": "jest --coverage --runInBand --ci --passWithNoTests",
28 "test:watch": "jest --watch"
31 "@proton/icons": "workspace:^",
32 "electron-log": "^5.2.0",
33 "electron-store": "^8.2.0",
34 "proton-pass-web": "workspace:applications/pass"
37 "@electron-forge/cli": "^7.5.0",
38 "@electron-forge/maker-deb": "^7.5.0",
39 "@electron-forge/maker-dmg": "^7.5.0",
40 "@electron-forge/maker-rpm": "^7.5.0",
41 "@electron-forge/maker-squirrel": "^7.5.0",
42 "@electron-forge/maker-zip": "^7.5.0",
43 "@electron-forge/plugin-auto-unpack-natives": "^7.5.0",
44 "@electron-forge/plugin-electronegativity": "^7.5.0",
45 "@electron-forge/plugin-fuses": "^7.5.0",
46 "@electron-forge/plugin-webpack": "^7.5.0",
47 "@electron-forge/shared-types": "^7.5.0",
48 "@electron/fuses": "^1.8.0",
49 "@proton/eslint-config-proton": "workspace:^",
50 "@proton/i18n": "workspace:^",
51 "@proton/pack": "workspace:^",
52 "@vercel/webpack-asset-relocator-loader": "1.7.3",
53 "cross-env": "^7.0.3",
57 "node-loader": "^2.0.0",
59 "ts-loader": "^9.5.1",
60 "typescript": "^5.6.3",
63 "productName": "Proton Pass"