2018-01-16 20:48:34 +01:00
|
|
|
{
|
2022-01-18 14:04:21 +01:00
|
|
|
"name": "@bitwarden/desktop",
|
2018-02-10 20:50:36 +01:00
|
|
|
"description": "A secure and free password manager for all of your devices.",
|
2018-02-12 19:21:38 +01:00
|
|
|
"version": "0.0.0",
|
|
|
|
"keywords": [
|
|
|
|
"bitwarden",
|
|
|
|
"password",
|
|
|
|
"vault",
|
|
|
|
"password manager"
|
|
|
|
],
|
2020-02-19 04:34:19 +01:00
|
|
|
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
2018-02-12 19:21:38 +01:00
|
|
|
"homepage": "https://bitwarden.com",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-02-13 23:27:42 +01:00
|
|
|
"url": "https://github.com/bitwarden/desktop"
|
2018-02-12 19:21:38 +01:00
|
|
|
},
|
|
|
|
"license": "GPL-3.0",
|
2018-01-16 20:48:34 +01:00
|
|
|
"scripts": {
|
2018-08-25 14:30:30 +02:00
|
|
|
"start": "cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build",
|
2018-02-20 17:02:47 +01:00
|
|
|
"sub:init": "git submodule update --init --recursive",
|
|
|
|
"sub:update": "git submodule update --remote",
|
2018-03-04 06:04:07 +01:00
|
|
|
"sub:pull": "git submodule foreach git pull origin master",
|
2018-03-04 06:08:13 +01:00
|
|
|
"sub:commit": "npm run sub:pull && git commit -am \"update submodule\"",
|
2021-06-07 19:26:36 +02:00
|
|
|
"preinstall": "npm run sub:init",
|
2021-09-28 16:51:53 +02:00
|
|
|
"postinstall": "electron-rebuild",
|
2019-09-25 22:10:00 +02:00
|
|
|
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
2020-01-27 18:12:25 +01:00
|
|
|
"symlink:mac": "npm run symlink:lin",
|
2020-01-27 18:27:36 +01:00
|
|
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
2022-02-24 20:50:19 +01:00
|
|
|
"lint": "eslint . && prettier --check .",
|
|
|
|
"lint:fix": "eslint . --fix",
|
2018-04-25 22:48:28 +02:00
|
|
|
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",
|
2021-06-10 21:37:39 +02:00
|
|
|
"build:dev": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main:dev\" \"npm run build:renderer:dev\"",
|
|
|
|
"build:main": "cross-env NODE_ENV=production webpack --config webpack.main.js",
|
|
|
|
"build:main:dev": "cross-env NODE_ENV=development webpack --config webpack.main.js",
|
2021-09-27 06:27:39 +02:00
|
|
|
"build:renderer": "cross-env NODE_ENV=production webpack --config webpack.renderer.js",
|
|
|
|
"build:renderer:dev": "cross-env NODE_ENV=development webpack --config webpack.renderer.js",
|
|
|
|
"build:renderer:watch": "cross-env NODE_ENV=development webpack --config webpack.renderer.js --watch",
|
2021-06-10 18:50:59 +02:00
|
|
|
"electron": "npm run build:main:dev && concurrently -k -n Main,Rend -c yellow,cyan \"electron --inspect=5858 ./build --watch\" \"npm run build:renderer:watch\"",
|
2022-04-01 11:24:46 +02:00
|
|
|
"electron:ignore": "npm run build:main:dev && concurrently -k -n Main,Rend -c yellow,cyan \"electron --inspect=5858 --ignore-certificate-errors ./build --watch\" \"npm run build:renderer:watch\"",
|
2018-02-16 18:30:38 +01:00
|
|
|
"clean:dist": "rimraf ./dist/*",
|
2018-07-30 23:10:28 +02:00
|
|
|
"clean:l10n": "git push origin --delete l10n_master",
|
2020-04-20 12:50:18 +02:00
|
|
|
"pack:dir": "npm run clean:dist && electron-builder --dir -p never",
|
2021-11-16 20:22:22 +01:00
|
|
|
"pack:lin": "npm run clean:dist && electron-builder --linux --x64 -p never",
|
2021-11-02 16:24:33 +01:00
|
|
|
"pack:mac": "npm run clean:dist && electron-builder --mac --universal -p never",
|
2021-03-18 19:14:20 +01:00
|
|
|
"pack:mac:arm64": "npm run clean:dist && electron-builder --mac --arm64 -p never",
|
2021-03-17 20:43:53 +01:00
|
|
|
"pack:mac:mas": "npm run clean:dist && electron-builder --mac mas --universal -p never",
|
|
|
|
"pack:mac:masdev": "npm run clean:dist && electron-builder --mac mas-dev --universal -p never",
|
2021-01-24 07:01:00 +01:00
|
|
|
"pack:win": "npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p never -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
|
|
|
"pack:win:ci": "npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p never",
|
2020-11-23 18:37:04 +01:00
|
|
|
"dist:dir": "npm run build && npm run pack:dir",
|
|
|
|
"dist:lin": "npm run build && npm run pack:lin",
|
|
|
|
"dist:mac": "npm run build && npm run pack:mac",
|
|
|
|
"dist:mac:mas": "npm run build && npm run pack:mac:mas",
|
|
|
|
"dist:mac:masdev": "npm run build && npm run pack:mac:masdev",
|
|
|
|
"dist:win": "npm run build && npm run pack:win",
|
|
|
|
"dist:win:ci": "npm run build && npm run pack:win:ci",
|
2021-11-16 20:22:22 +01:00
|
|
|
"publish:lin": "npm run build && npm run clean:dist && electron-builder --linux --x64 -p always",
|
2019-07-24 21:30:36 +02:00
|
|
|
"publish:mac": "npm run build && npm run clean:dist && electron-builder --mac -p always",
|
2019-10-01 05:56:44 +02:00
|
|
|
"publish:mac:mas": "npm run dist:mac:mas && npm run upload:mas",
|
2021-01-24 07:01:00 +01:00
|
|
|
"publish:win": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
2022-03-24 21:23:29 +01:00
|
|
|
"publish:win:dev": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always",
|
2021-12-20 14:17:39 +01:00
|
|
|
"upload:mas": "xcrun altool --upload-app --type osx --file \"$(find ./dist/mas-universal/Bitwarden*.pkg)\" --username $APPLE_ID_USERNAME --password $APPLE_ID_PASSWORD",
|
|
|
|
"prettier": "prettier --write .",
|
|
|
|
"prepare": "husky install"
|
2018-02-12 19:21:38 +01:00
|
|
|
},
|
|
|
|
"build": {
|
2022-01-18 14:04:21 +01:00
|
|
|
"extraMetadata": {
|
|
|
|
"name": "bitwarden"
|
|
|
|
},
|
|
|
|
"productName": "Bitwarden",
|
2018-02-12 19:21:38 +01:00
|
|
|
"appId": "com.bitwarden.desktop",
|
2020-12-22 19:35:04 +01:00
|
|
|
"buildDependenciesFromSource": true,
|
2022-01-05 19:44:08 +01:00
|
|
|
"copyright": "Copyright © 2015-2022 Bitwarden Inc.",
|
2018-02-12 19:21:38 +01:00
|
|
|
"directories": {
|
|
|
|
"buildResources": "resources",
|
|
|
|
"output": "dist",
|
|
|
|
"app": "build"
|
|
|
|
},
|
2019-09-27 18:03:12 +02:00
|
|
|
"afterSign": "scripts/after-sign.js",
|
2022-01-12 11:32:02 +01:00
|
|
|
"asarUnpack": [
|
2022-01-13 10:46:33 +01:00
|
|
|
"**/*.node"
|
2022-01-12 11:32:02 +01:00
|
|
|
],
|
2022-04-05 16:54:44 +02:00
|
|
|
"files": [
|
|
|
|
"**/*",
|
|
|
|
"!**/node_modules/@bitwarden/desktop-native/**/*"
|
|
|
|
],
|
2018-02-12 19:21:38 +01:00
|
|
|
"mac": {
|
2018-02-15 18:25:18 +01:00
|
|
|
"electronUpdaterCompatibility": ">=0.0.1",
|
2018-02-15 05:53:52 +01:00
|
|
|
"category": "public.app-category.productivity",
|
2019-07-24 21:30:36 +02:00
|
|
|
"darkModeSupport": true,
|
2019-07-24 22:37:23 +02:00
|
|
|
"gatekeeperAssess": false,
|
|
|
|
"hardenedRuntime": true,
|
|
|
|
"entitlements": "resources/entitlements.mac.plist",
|
|
|
|
"entitlementsInherit": "resources/entitlements.mac.plist",
|
2018-02-25 05:56:19 +01:00
|
|
|
"extendInfo": {
|
2018-02-25 06:09:09 +01:00
|
|
|
"ITSAppUsesNonExemptEncryption": false,
|
|
|
|
"CFBundleLocalizations": [
|
|
|
|
"en",
|
|
|
|
"cs",
|
|
|
|
"da",
|
|
|
|
"de",
|
|
|
|
"es",
|
|
|
|
"et",
|
|
|
|
"fi",
|
|
|
|
"fr",
|
|
|
|
"hr",
|
|
|
|
"hu",
|
|
|
|
"id",
|
|
|
|
"it",
|
|
|
|
"ja",
|
|
|
|
"nb",
|
|
|
|
"nl",
|
|
|
|
"pl",
|
|
|
|
"pt-BR",
|
|
|
|
"pt-PT",
|
|
|
|
"ro",
|
|
|
|
"ru",
|
|
|
|
"sk",
|
|
|
|
"sv",
|
|
|
|
"tr",
|
|
|
|
"uk",
|
|
|
|
"vi",
|
|
|
|
"zh-Hans",
|
|
|
|
"zh-Hant"
|
|
|
|
],
|
|
|
|
"CFBundleDevelopmentRegion": "en"
|
2018-02-25 05:56:19 +01:00
|
|
|
},
|
2018-02-15 18:25:18 +01:00
|
|
|
"target": [
|
2018-02-15 05:53:52 +01:00
|
|
|
"dmg",
|
|
|
|
"zip"
|
2018-02-15 18:25:18 +01:00
|
|
|
]
|
2018-02-15 05:53:52 +01:00
|
|
|
},
|
2018-02-15 18:25:18 +01:00
|
|
|
"win": {
|
|
|
|
"electronUpdaterCompatibility": ">=0.0.1",
|
|
|
|
"target": [
|
2018-02-15 05:53:52 +01:00
|
|
|
"portable",
|
2018-02-21 05:17:35 +01:00
|
|
|
"nsis-web",
|
|
|
|
"appx"
|
2020-10-05 15:11:37 +02:00
|
|
|
],
|
2020-12-30 23:06:48 +01:00
|
|
|
"sign": "./sign.js",
|
2020-10-05 15:11:37 +02:00
|
|
|
"extraResources": [
|
2020-10-05 19:48:51 +02:00
|
|
|
{
|
|
|
|
"from": "node_modules/regedit/vbs",
|
|
|
|
"to": "regedit/vbs",
|
|
|
|
"filter": [
|
|
|
|
"**/*"
|
|
|
|
]
|
2020-11-25 14:29:53 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "resources/native-messaging.bat",
|
|
|
|
"to": "native-messaging.bat"
|
2020-10-05 15:11:37 +02:00
|
|
|
}
|
2018-02-15 18:25:18 +01:00
|
|
|
]
|
2018-02-15 05:53:52 +01:00
|
|
|
},
|
|
|
|
"linux": {
|
2018-02-15 18:25:18 +01:00
|
|
|
"category": "Utility",
|
|
|
|
"synopsis": "A secure and free password manager for all of your devices.",
|
2018-02-15 05:53:52 +01:00
|
|
|
"target": [
|
2021-11-16 20:22:22 +01:00
|
|
|
"deb",
|
|
|
|
"freebsd",
|
|
|
|
"rpm",
|
|
|
|
"AppImage",
|
|
|
|
"snap"
|
2020-04-26 12:58:17 +02:00
|
|
|
],
|
|
|
|
"desktop": {
|
|
|
|
"Name": "Bitwarden",
|
|
|
|
"Type": "Application",
|
|
|
|
"GenericName": "Password Manager"
|
2020-11-23 18:37:04 +01:00
|
|
|
}
|
2018-02-12 19:21:38 +01:00
|
|
|
},
|
|
|
|
"dmg": {
|
2018-02-20 20:53:08 +01:00
|
|
|
"icon": "dmg.icns",
|
2018-02-12 19:21:38 +01:00
|
|
|
"contents": [
|
|
|
|
{
|
2018-02-13 18:55:45 +01:00
|
|
|
"x": 150,
|
|
|
|
"y": 185,
|
|
|
|
"type": "file"
|
2018-02-12 19:21:38 +01:00
|
|
|
},
|
|
|
|
{
|
2018-02-13 18:55:45 +01:00
|
|
|
"x": 390,
|
|
|
|
"y": 180,
|
|
|
|
"type": "link",
|
|
|
|
"path": "/Applications"
|
2018-02-12 19:21:38 +01:00
|
|
|
}
|
2018-02-13 18:20:25 +01:00
|
|
|
],
|
|
|
|
"window": {
|
|
|
|
"width": 540,
|
|
|
|
"height": 380
|
|
|
|
}
|
2018-02-12 19:21:38 +01:00
|
|
|
},
|
2019-07-24 22:37:23 +02:00
|
|
|
"mas": {
|
|
|
|
"entitlements": "resources/entitlements.mas.plist",
|
2019-10-14 16:50:46 +02:00
|
|
|
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
|
2022-03-22 18:43:37 +01:00
|
|
|
"hardenedRuntime": false,
|
2022-03-25 15:29:43 +01:00
|
|
|
"extendInfo": {
|
|
|
|
"LSMinimumSystemVersion": "10.14.0"
|
|
|
|
}
|
2019-07-24 22:37:23 +02:00
|
|
|
},
|
2018-02-15 20:05:13 +01:00
|
|
|
"nsisWeb": {
|
|
|
|
"oneClick": false,
|
2022-03-03 19:50:35 +01:00
|
|
|
"perMachine": false,
|
|
|
|
"allowToChangeInstallationDirectory": false,
|
2018-02-21 19:26:09 +01:00
|
|
|
"artifactName": "${productName}-Installer-${version}.${ext}",
|
2018-02-15 20:05:13 +01:00
|
|
|
"uninstallDisplayName": "${productName}",
|
|
|
|
"deleteAppDataOnUninstall": true
|
|
|
|
},
|
|
|
|
"portable": {
|
2018-02-21 19:26:09 +01:00
|
|
|
"artifactName": "${productName}-Portable-${version}.${ext}"
|
2018-02-16 05:56:17 +01:00
|
|
|
},
|
2018-02-21 05:17:35 +01:00
|
|
|
"appx": {
|
2018-02-21 19:26:09 +01:00
|
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
2020-05-05 22:59:16 +02:00
|
|
|
"backgroundColor": "#175DDC",
|
2018-02-21 05:17:35 +01:00
|
|
|
"applicationId": "bitwardendesktop",
|
|
|
|
"identityName": "8bitSolutionsLLC.bitwardendesktop",
|
|
|
|
"publisher": "CN=14D52771-DE3C-4886-B8BF-825BA7690418",
|
|
|
|
"publisherDisplayName": "8bit Solutions LLC",
|
|
|
|
"languages": [
|
|
|
|
"en-US"
|
|
|
|
]
|
|
|
|
},
|
2018-02-16 05:56:17 +01:00
|
|
|
"deb": {
|
2018-02-21 19:26:09 +01:00
|
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
2018-02-16 18:30:38 +01:00
|
|
|
"depends": [
|
|
|
|
"libnotify4",
|
|
|
|
"libxtst6",
|
2018-02-16 23:26:48 +01:00
|
|
|
"libnss3",
|
|
|
|
"libsecret-1-0",
|
|
|
|
"libxss1"
|
2018-02-16 18:30:38 +01:00
|
|
|
]
|
2018-02-21 19:26:09 +01:00
|
|
|
},
|
|
|
|
"appImage": {
|
|
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
|
|
|
},
|
|
|
|
"rpm": {
|
|
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
|
|
|
},
|
|
|
|
"freebsd": {
|
|
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
2018-04-17 21:00:50 +02:00
|
|
|
},
|
|
|
|
"snap": {
|
2020-12-14 22:45:36 +01:00
|
|
|
"autoStart": true,
|
2018-04-17 21:00:50 +02:00
|
|
|
"confinement": "strict",
|
2018-04-19 21:34:21 +02:00
|
|
|
"plugs": [
|
|
|
|
"default",
|
|
|
|
"password-manager-service"
|
|
|
|
],
|
|
|
|
"stagePackages": [
|
2018-11-07 18:49:33 +01:00
|
|
|
"default"
|
2019-08-01 03:35:43 +02:00
|
|
|
],
|
2019-08-01 05:29:56 +02:00
|
|
|
"publish": [
|
|
|
|
"github"
|
|
|
|
]
|
2020-09-22 00:13:25 +02:00
|
|
|
},
|
|
|
|
"protocols": [
|
|
|
|
{
|
|
|
|
"name": "Bitwarden",
|
|
|
|
"schemes": [
|
|
|
|
"bitwarden"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2018-01-16 20:48:34 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-09 20:29:24 +01:00
|
|
|
"@angular/compiler-cli": "^12.2.13",
|
|
|
|
"@ngtools/webpack": "^12.2.13",
|
2021-12-13 17:16:44 +01:00
|
|
|
"@types/node": "^16.11.12",
|
2021-06-07 19:26:36 +02:00
|
|
|
"@types/node-ipc": "^9.1.4",
|
2022-02-24 20:50:19 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
|
|
"@typescript-eslint/parser": "^5.12.1",
|
2021-12-09 20:29:24 +01:00
|
|
|
"clean-webpack-plugin": "^4.0.0",
|
2021-04-23 10:45:30 +02:00
|
|
|
"concurrently": "^6.0.2",
|
2021-12-09 20:29:24 +01:00
|
|
|
"copy-webpack-plugin": "^10.0.0",
|
2021-04-23 10:45:30 +02:00
|
|
|
"cross-env": "^7.0.3",
|
2021-12-09 20:29:24 +01:00
|
|
|
"css-loader": "^6.5.1",
|
2022-04-05 19:46:07 +02:00
|
|
|
"electron-builder": "22.14.13",
|
2021-09-28 16:51:53 +02:00
|
|
|
"electron-notarize": "^1.1.1",
|
2021-12-17 11:15:07 +01:00
|
|
|
"electron-rebuild": "^3.2.5",
|
2020-01-27 15:46:50 +01:00
|
|
|
"electron-reload": "^1.5.0",
|
2022-02-24 20:50:19 +01:00
|
|
|
"eslint": "^8.9.0",
|
|
|
|
"eslint-config-prettier": "^8.4.0",
|
|
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
2021-12-09 20:29:24 +01:00
|
|
|
"html-loader": "^3.0.1",
|
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2021-12-20 14:17:39 +01:00
|
|
|
"husky": "^7.0.4",
|
|
|
|
"lint-staged": "^12.1.3",
|
2021-12-09 20:29:24 +01:00
|
|
|
"mini-css-extract-plugin": "^2.4.5",
|
|
|
|
"node-loader": "^2.0.0",
|
2021-12-20 14:17:39 +01:00
|
|
|
"prettier": "^2.5.1",
|
2021-04-23 10:45:30 +02:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"sass": "^1.32.11",
|
2021-12-09 20:29:24 +01:00
|
|
|
"sass-loader": "^12.4.0",
|
2021-04-23 10:45:30 +02:00
|
|
|
"tapable": "^1.1.3",
|
2021-12-09 20:29:24 +01:00
|
|
|
"ts-loader": "^9.2.5",
|
2021-06-07 19:26:36 +02:00
|
|
|
"tsconfig-paths-webpack-plugin": "^3.5.1",
|
2021-12-09 20:29:24 +01:00
|
|
|
"typescript": "4.3.5",
|
|
|
|
"webpack": "^5.64.4",
|
|
|
|
"webpack-cli": "^4.9.1",
|
2022-01-12 11:32:02 +01:00
|
|
|
"webpack-merge": "^5.8.0"
|
2018-01-16 20:48:34 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-12-09 20:29:24 +01:00
|
|
|
"@angular/animations": "^12.2.13",
|
|
|
|
"@angular/cdk": "^12.2.13",
|
|
|
|
"@angular/common": "^12.2.13",
|
|
|
|
"@angular/compiler": "^12.2.13",
|
|
|
|
"@angular/core": "^12.2.13",
|
|
|
|
"@angular/forms": "^12.2.13",
|
|
|
|
"@angular/platform-browser": "^12.2.13",
|
|
|
|
"@angular/platform-browser-dynamic": "^12.2.13",
|
|
|
|
"@angular/router": "^12.2.13",
|
2022-04-05 16:54:44 +02:00
|
|
|
"@bitwarden/desktop-native": "file:desktop_native",
|
2021-06-07 19:26:36 +02:00
|
|
|
"@bitwarden/jslib-angular": "file:jslib/angular",
|
|
|
|
"@bitwarden/jslib-common": "file:jslib/common",
|
|
|
|
"@bitwarden/jslib-electron": "file:jslib/electron",
|
2022-04-05 16:54:44 +02:00
|
|
|
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
|
|
|
|
"forcefocus": "^1.1.0",
|
2021-12-09 20:29:24 +01:00
|
|
|
"ngx-toastr": "14.1.4",
|
2021-04-23 10:45:30 +02:00
|
|
|
"node-ipc": "^9.1.4",
|
2021-06-07 19:26:36 +02:00
|
|
|
"nord": "^0.2.1",
|
2020-10-05 19:48:51 +02:00
|
|
|
"regedit": "^3.0.3",
|
2021-12-09 20:29:24 +01:00
|
|
|
"rxjs": "^7.4.0",
|
2022-04-05 19:46:07 +02:00
|
|
|
"sweetalert2": "^10.16.6",
|
|
|
|
"zone.js": "0.11.4"
|
2021-05-12 22:38:02 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-12-13 17:16:44 +01:00
|
|
|
"node": "~16",
|
|
|
|
"npm": "~8"
|
2021-12-20 14:17:39 +01:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2022-02-24 20:50:19 +01:00
|
|
|
"./!(jslib)**": "prettier --ignore-unknown --write",
|
|
|
|
"*.ts": "eslint --fix"
|
2018-01-16 20:48:34 +01:00
|
|
|
}
|
|
|
|
}
|