mirror of
https://github.com/bitwarden/browser
synced 2024-12-11 08:46:16 +01:00
266f089b3e
* Simplify tsconfig * Add separate tsconfig for renderer to get rid of last warnings
331 lines
10 KiB
JSON
331 lines
10 KiB
JSON
{
|
|
"name": "bitwarden",
|
|
"productName": "Bitwarden",
|
|
"description": "A secure and free password manager for all of your devices.",
|
|
"version": "0.0.0",
|
|
"keywords": [
|
|
"bitwarden",
|
|
"password",
|
|
"vault",
|
|
"password manager"
|
|
],
|
|
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
|
"homepage": "https://bitwarden.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bitwarden/desktop"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"start": "cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build",
|
|
"sub:init": "git submodule update --init --recursive",
|
|
"sub:update": "git submodule update --remote",
|
|
"sub:pull": "git submodule foreach git pull origin master",
|
|
"sub:commit": "npm run sub:pull && git commit -am \"update submodule\"",
|
|
"postinstall": "./node_modules/.bin/electron-rebuild && npm run sub:init && patch-package",
|
|
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
|
"symlink:mac": "npm run symlink:lin",
|
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
|
"lint": "tslint 'src/**/*.ts'",
|
|
"lint:fix": "tslint 'src/**/*.ts' --fix",
|
|
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",
|
|
"build:main": "webpack --config webpack.main.js",
|
|
"build:renderer": "gulp prebuild:renderer && webpack --config webpack.renderer.js",
|
|
"build:renderer:watch": "gulp prebuild:renderer && webpack --config webpack.renderer.js --watch",
|
|
"electron": "npm run build:main && concurrently -k -n Main,Rend -c yellow,cyan \"electron --inspect=5858 ./build --watch\" \"npm run build:renderer:watch\"",
|
|
"clean:dist": "rimraf ./dist/*",
|
|
"clean:l10n": "git push origin --delete l10n_master",
|
|
"pack:dir": "npm run clean:dist && electron-builder --dir -p never",
|
|
"pack:lin": "npm run clean:dist && electron-builder --linux --x64 -p never",
|
|
"pack:mac": "npm run clean:dist && electron-builder --mac -p never",
|
|
"pack:mac:arm64": "npm run clean:dist && electron-builder --mac --arm64 -p never",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"publish:mac:mas": "npm run dist:mac:mas && npm run upload:mas",
|
|
"publish:win": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
|
"upload:mas": "xcrun altool --upload-app --type osx --file \"$(find ./dist/mas/Bitwarden*.pkg)\" --username $APPLE_ID_USERNAME --password $APPLE_ID_PASSWORD"
|
|
},
|
|
"build": {
|
|
"appId": "com.bitwarden.desktop",
|
|
"buildDependenciesFromSource": true,
|
|
"copyright": "Copyright © 2015-2021 Bitwarden Inc.",
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"output": "dist",
|
|
"app": "build"
|
|
},
|
|
"afterSign": "scripts/after-sign.js",
|
|
"mac": {
|
|
"electronUpdaterCompatibility": ">=0.0.1",
|
|
"category": "public.app-category.productivity",
|
|
"extraFiles": [
|
|
"PlugIns/"
|
|
],
|
|
"darkModeSupport": true,
|
|
"gatekeeperAssess": false,
|
|
"hardenedRuntime": true,
|
|
"entitlements": "resources/entitlements.mac.plist",
|
|
"entitlementsInherit": "resources/entitlements.mac.plist",
|
|
"extendInfo": {
|
|
"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"
|
|
},
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
]
|
|
},
|
|
"win": {
|
|
"electronUpdaterCompatibility": ">=0.0.1",
|
|
"target": [
|
|
"portable",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"category": "Utility",
|
|
"synopsis": "A secure and free password manager for all of your devices.",
|
|
"target": [
|
|
"deb",
|
|
"freebsd",
|
|
"rpm",
|
|
"AppImage",
|
|
"snap"
|
|
],
|
|
"desktop": {
|
|
"Name": "Bitwarden",
|
|
"Type": "Application",
|
|
"GenericName": "Password Manager"
|
|
}
|
|
},
|
|
"dmg": {
|
|
"icon": "dmg.icns",
|
|
"contents": [
|
|
{
|
|
"x": 150,
|
|
"y": 185,
|
|
"type": "file"
|
|
},
|
|
{
|
|
"x": 390,
|
|
"y": 180,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
],
|
|
"window": {
|
|
"width": 540,
|
|
"height": 380
|
|
}
|
|
},
|
|
"mas": {
|
|
"entitlements": "resources/entitlements.mas.plist",
|
|
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
|
|
"hardenedRuntime": false,
|
|
"asarUnpack": [
|
|
"node_modules/keytar"
|
|
]
|
|
},
|
|
"nsisWeb": {
|
|
"oneClick": false,
|
|
"perMachine": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"artifactName": "${productName}-Installer-${version}.${ext}",
|
|
"uninstallDisplayName": "${productName}",
|
|
"deleteAppDataOnUninstall": true
|
|
},
|
|
"portable": {
|
|
"artifactName": "${productName}-Portable-${version}.${ext}"
|
|
},
|
|
"appx": {
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
|
"backgroundColor": "#175DDC",
|
|
"applicationId": "bitwardendesktop",
|
|
"identityName": "8bitSolutionsLLC.bitwardendesktop",
|
|
"publisher": "CN=14D52771-DE3C-4886-B8BF-825BA7690418",
|
|
"publisherDisplayName": "8bit Solutions LLC",
|
|
"languages": [
|
|
"en-US"
|
|
]
|
|
},
|
|
"deb": {
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
|
"depends": [
|
|
"libnotify4",
|
|
"libxtst6",
|
|
"libnss3",
|
|
"libsecret-1-0",
|
|
"libxss1"
|
|
]
|
|
},
|
|
"appImage": {
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
|
},
|
|
"rpm": {
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
|
},
|
|
"freebsd": {
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
|
},
|
|
"snap": {
|
|
"autoStart": true,
|
|
"confinement": "strict",
|
|
"plugs": [
|
|
"default",
|
|
"password-manager-service"
|
|
],
|
|
"stagePackages": [
|
|
"default"
|
|
],
|
|
"publish": [
|
|
"github"
|
|
]
|
|
},
|
|
"protocols": [
|
|
{
|
|
"name": "Bitwarden",
|
|
"schemes": [
|
|
"bitwarden"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@angular/compiler-cli": "^11.2.10",
|
|
"@ngtools/webpack": "^11.2.10",
|
|
"@types/duo_web_sdk": "^2.7.0",
|
|
"@types/lunr": "^2.3.3",
|
|
"@types/node": "^10.17.58",
|
|
"@types/node-forge": "^0.9.7",
|
|
"@types/node-ipc": "^9.1.3",
|
|
"@types/papaparse": "^5.2.0",
|
|
"@types/webcrypto": "^0.0.28",
|
|
"@types/webpack": "^4.4.27",
|
|
"@types/zxcvbn": "^4.4.1",
|
|
"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",
|
|
"electron": "11.4.3",
|
|
"electron-builder": "22.10.5",
|
|
"electron-notarize": "^1.0.0",
|
|
"electron-rebuild": "^2.3.5",
|
|
"electron-reload": "^1.5.0",
|
|
"file-loader": "^6.2.0",
|
|
"font-awesome": "4.7.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-google-webfonts": "^4.0.0",
|
|
"html-loader": "^1.3.2",
|
|
"html-webpack-plugin": "^4.5.1",
|
|
"mini-css-extract-plugin": "^1.5.0",
|
|
"node-loader": "^1.0.3",
|
|
"patch-package": "^6.4.7",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.32.11",
|
|
"sass-loader": "^10.1.1",
|
|
"tapable": "^1.1.3",
|
|
"ts-loader": "^8.1.0",
|
|
"tslint": "~6.1.0",
|
|
"tslint-loader": "^3.5.4",
|
|
"typescript": "4.1.5",
|
|
"webpack": "^4.46.0",
|
|
"webpack-cli": "^4.6.0",
|
|
"webpack-merge": "^5.7.3",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@angular/animations": "^11.2.11",
|
|
"@angular/cdk": "^11.2.10",
|
|
"@angular/cli": "^11.2.10",
|
|
"@angular/common": "^11.2.11",
|
|
"@angular/compiler": "^11.2.11",
|
|
"@angular/core": "^11.2.11",
|
|
"@angular/forms": "^11.2.11",
|
|
"@angular/localize": "^11.2.11",
|
|
"@angular/platform-browser": "^11.2.11",
|
|
"@angular/platform-browser-dynamic": "^11.2.11",
|
|
"@angular/router": "^11.2.11",
|
|
"@microsoft/signalr": "3.1.13",
|
|
"@microsoft/signalr-protocol-msgpack": "3.1.13",
|
|
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
|
|
"angular2-toaster": "^11.0.1",
|
|
"big-integer": "1.6.48",
|
|
"browser-hrtime": "^1.1.8",
|
|
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
|
|
"electron-log": "^4.3.4",
|
|
"electron-store": "8.0.0",
|
|
"electron-updater": "^4.3.8",
|
|
"forcefocus": "^1.1.0",
|
|
"keytar": "^7.6.0",
|
|
"lunr": "^2.3.9",
|
|
"ngx-infinite-scroll": "^10.0.1",
|
|
"node-forge": "0.10.0",
|
|
"node-ipc": "^9.1.4",
|
|
"nord": "0.2.1",
|
|
"papaparse": "^5.3.0",
|
|
"regedit": "^3.0.3",
|
|
"rxjs": "^6.6.7",
|
|
"sweetalert2": "^10.16.6",
|
|
"tslib": "^2.0.0",
|
|
"zone.js": "^0.11.4",
|
|
"zxcvbn": "4.4.2"
|
|
}
|
|
}
|