1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00
bitwarden-desktop/package.json

329 lines
10 KiB
JSON
Raw Normal View History

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\"",
"postinstall": "./node_modules/.bin/electron-rebuild && npm run sub:init",
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\"",
2018-01-23 19:59:01 +01:00
"build:main": "webpack --config webpack.main.js",
2018-08-08 18:47:54 +02:00
"build:renderer": "gulp prebuild:renderer && webpack --config webpack.renderer.js",
"build:renderer:watch": "gulp prebuild:renderer && webpack --config webpack.renderer.js --watch",
2018-04-25 22:48:28 +02:00
"electron": "npm run build:main && 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",
"pack:dir": "npm run clean:dist && electron-builder --dir -p never",
2019-07-24 21:30:36 +02:00
"pack:lin": "npm run clean:dist && electron-builder --linux --x64 -p never",
"pack:mac": "npm run clean:dist && electron-builder --mac -p never",
2019-10-02 03:00:33 +02:00
"pack:mac:mas": "npm run clean:dist && electron-builder --mac mas -p never",
"pack:mac:masdev": "npm run clean:dist && electron-builder --mac mas-dev -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",
2019-07-24 21:30:36 +02:00
"publish:lin": "npm run build && npm run clean:dist && electron-builder --linux --x64 -p always",
"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\"",
2019-10-02 02:19:47 +02:00
"upload:mas": "xcrun altool --upload-app --type osx --file \"$(find ./dist/mas/Bitwarden*.pkg)\" --username $APPLE_ID_USERNAME --password $APPLE_ID_PASSWORD"
2018-02-12 19:21:38 +01:00
},
"build": {
"appId": "com.bitwarden.desktop",
"buildDependenciesFromSource": true,
"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-08-26 20:28:28 +02:00
"extraFiles": [
"PlugIns/"
],
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",
"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-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"
],
"sign": "./sign.js",
"extraResources": [
{
"from": "node_modules/regedit/vbs",
"to": "regedit/vbs",
"filter": [
"**/*"
]
},
{
"from": "resources/native-messaging.bat",
"to": "native-messaging.bat"
}
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": [
2018-02-21 19:36:00 +01:00
"deb",
"freebsd",
2018-02-15 05:53:52 +01:00
"rpm",
"AppImage",
2018-02-21 19:36:00 +01:00
"snap"
],
"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-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"
]
},
"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",
"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": {
2020-08-18 22:13:15 +02:00
"@angular/compiler-cli": "^9.1.12",
"@ngtools/webpack": "^9.1.12",
2020-04-14 21:41:46 +02:00
"@types/lunr": "^2.3.3",
2020-08-18 22:13:15 +02:00
"@types/node": "^10.17.28",
2018-09-12 19:12:44 +02:00
"@types/node-forge": "^0.7.5",
"@types/papaparse": "^4.5.3",
"@types/semver": "^5.5.0",
"@types/webcrypto": "^0.0.28",
"@types/webpack": "^4.4.11",
"@types/zxcvbn": "4.4.0",
2018-09-12 19:12:44 +02:00
"clean-webpack-plugin": "^0.1.19",
"concurrently": "^4.0.1",
2018-01-16 20:48:34 +01:00
"copy-webpack-plugin": "^4.2.0",
2018-09-12 19:12:44 +02:00
"cross-env": "^5.2.0",
"css-loader": "^1.0.0",
2018-08-08 18:47:54 +02:00
"del": "^3.0.0",
2021-01-27 22:50:18 +01:00
"electron": "11.1.1",
"electron-builder": "22.9.1",
"electron-notarize": "^1.0.0",
"electron-rebuild": "^2.3.4",
2020-01-27 15:46:50 +01:00
"electron-reload": "^1.5.0",
2018-09-12 19:12:44 +02:00
"file-loader": "^2.0.0",
2018-01-16 20:48:34 +01:00
"font-awesome": "4.7.0",
2018-11-27 18:22:18 +01:00
"gulp": "^4.0.0",
2018-08-08 18:47:54 +02:00
"gulp-google-webfonts": "^2.0.0",
2018-09-12 19:12:44 +02:00
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.9.0",
"ngx-infinite-scroll": "7.0.1",
2019-07-25 15:30:20 +02:00
"node-abi": "^2.9.0",
2018-01-23 05:37:36 +01:00
"node-loader": "^0.6.0",
2020-01-27 15:00:56 +01:00
"node-sass": "^4.13.1",
2018-02-16 18:30:38 +01:00
"rimraf": "^2.6.2",
2018-09-12 19:12:44 +02:00
"sass-loader": "^7.1.0",
2020-08-12 21:43:38 +02:00
"ts-loader": "^8.0.2",
"tslint": "^6.1.3",
2019-01-22 05:38:27 +01:00
"tslint-loader": "^3.5.4",
2020-08-18 22:13:15 +02:00
"typescript": "3.8.3",
2019-01-22 05:38:27 +01:00
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1",
"webpack-merge": "^4.2.1",
2018-09-12 19:12:44 +02:00
"webpack-node-externals": "^1.7.2"
2018-01-16 20:48:34 +01:00
},
"dependencies": {
2020-08-18 22:13:15 +02:00
"@angular/animations": "9.1.12",
"@angular/cdk": "9.2.4",
"@angular/common": "9.1.12",
"@angular/compiler": "9.1.12",
"@angular/core": "9.1.12",
"@angular/forms": "9.1.12",
"@angular/platform-browser": "9.1.12",
"@angular/platform-browser-dynamic": "9.1.12",
"@angular/router": "9.1.12",
"@angular/upgrade": "9.1.12",
2020-01-09 23:29:49 +01:00
"@microsoft/signalr": "3.1.0",
"@microsoft/signalr-protocol-msgpack": "3.1.0",
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
2020-08-18 22:13:15 +02:00
"angular2-toaster": "8.0.0",
"angulartics2": "9.1.0",
2018-11-10 04:31:21 +01:00
"big-integer": "1.6.36",
2021-01-25 19:35:28 +01:00
"browser-hrtime": "^1.1.8",
2019-01-22 05:38:27 +01:00
"core-js": "2.6.2",
2018-12-18 23:00:23 +01:00
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
2021-01-27 22:50:18 +01:00
"electron-log": "4.3.0",
"electron-store": "6.0.1",
2020-09-24 17:45:46 +02:00
"electron-updater": "4.3.5",
2020-12-21 11:31:33 +01:00
"forcefocus": "^1.1.0",
2021-02-03 18:47:44 +01:00
"keytar": "7.3.0",
2018-09-04 03:51:28 +02:00
"lunr": "2.3.3",
2018-09-12 19:12:44 +02:00
"node-forge": "0.7.6",
"node-ipc": "^9.1.1",
2018-07-22 04:22:24 +02:00
"nord": "0.2.1",
2018-09-12 19:12:44 +02:00
"papaparse": "4.6.0",
"regedit": "^3.0.3",
2020-08-18 22:13:15 +02:00
"rxjs": "6.6.2",
2021-02-18 23:48:12 +01:00
"sweetalert2": "10.15.4",
2020-08-18 22:13:15 +02:00
"tslib": "^2.0.1",
"zone.js": "0.10.3",
"zxcvbn": "4.4.2"
2018-01-16 20:48:34 +01:00
}
}