2018-01-16 20:48:34 +01:00
|
|
|
{
|
|
|
|
"name": "bitwarden",
|
2018-02-10 23:07:46 +01:00
|
|
|
"productName": "Bitwarden",
|
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",
|
2021-02-03 19:21:22 +01:00
|
|
|
"lint": "tslint 'src/**/*.ts'",
|
|
|
|
"lint:fix": "tslint 'src/**/*.ts' --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\"",
|
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\"",
|
2021-05-12 16:59:30 +02:00
|
|
|
"upload:mas": "xcrun altool --upload-app --type osx --file \"$(find ./dist/mas-universal/Bitwarden*.pkg)\" --username $APPLE_ID_USERNAME --password $APPLE_ID_PASSWORD"
|
2018-02-12 19:21:38 +01:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "com.bitwarden.desktop",
|
2020-12-22 19:35:04 +01:00
|
|
|
"buildDependenciesFromSource": true,
|
2021-02-24 22:52:53 +01:00
|
|
|
"copyright": "Copyright © 2015-2021 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",
|
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",
|
2019-10-14 17:48:04 +02:00
|
|
|
"hardenedRuntime": false,
|
|
|
|
"asarUnpack": [
|
|
|
|
"node_modules/keytar"
|
|
|
|
]
|
2019-07-24 22:37:23 +02:00
|
|
|
},
|
2018-02-15 20:05:13 +01:00
|
|
|
"nsisWeb": {
|
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": true,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
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-04-23 10:45:30 +02:00
|
|
|
"@angular/compiler-cli": "^11.2.10",
|
|
|
|
"@ngtools/webpack": "^11.2.10",
|
2021-05-12 22:38:02 +02:00
|
|
|
"@types/node": "^14.14.43",
|
2021-06-07 19:26:36 +02:00
|
|
|
"@types/node-ipc": "^9.1.4",
|
2021-04-23 10:45:30 +02:00
|
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
|
|
"concurrently": "^6.0.2",
|
|
|
|
"copy-webpack-plugin": "^6.4.0",
|
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"css-loader": "^5.2.4",
|
|
|
|
"del": "^6.0.0",
|
2021-09-28 16:51:53 +02:00
|
|
|
"electron-builder": "22.11.7",
|
|
|
|
"electron-notarize": "^1.1.1",
|
|
|
|
"electron-rebuild": "^3.2.3",
|
2020-01-27 15:46:50 +01:00
|
|
|
"electron-reload": "^1.5.0",
|
2021-04-23 10:45:30 +02:00
|
|
|
"file-loader": "^6.2.0",
|
2018-01-16 20:48:34 +01:00
|
|
|
"font-awesome": "4.7.0",
|
2021-04-23 10:45:30 +02:00
|
|
|
"html-loader": "^1.3.2",
|
|
|
|
"html-webpack-plugin": "^4.5.1",
|
|
|
|
"mini-css-extract-plugin": "^1.5.0",
|
|
|
|
"node-loader": "^1.0.3",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"sass": "^1.32.11",
|
|
|
|
"sass-loader": "^10.1.1",
|
|
|
|
"tapable": "^1.1.3",
|
|
|
|
"ts-loader": "^8.1.0",
|
2021-06-07 19:26:36 +02:00
|
|
|
"tsconfig-paths-webpack-plugin": "^3.5.1",
|
2021-04-23 10:45:30 +02:00
|
|
|
"tslint": "~6.1.0",
|
2019-01-22 05:38:27 +01:00
|
|
|
"tslint-loader": "^3.5.4",
|
2021-04-23 10:45:30 +02:00
|
|
|
"typescript": "4.1.5",
|
|
|
|
"webpack": "^4.46.0",
|
|
|
|
"webpack-cli": "^4.6.0",
|
|
|
|
"webpack-merge": "^5.7.3",
|
|
|
|
"webpack-node-externals": "^3.0.0"
|
2018-01-16 20:48:34 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
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",
|
2021-04-23 10:45:30 +02:00
|
|
|
"angular2-toaster": "^11.0.1",
|
|
|
|
"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-06-07 19:26:36 +02:00
|
|
|
"sweetalert2": "^10.16.6"
|
2021-05-12 22:38:02 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": "~14",
|
2021-05-26 22:44:48 +02:00
|
|
|
"npm": "~7"
|
2018-01-16 20:48:34 +01:00
|
|
|
}
|
|
|
|
}
|