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

315 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\"",
"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-12-20 15:47:17 +01:00
"lint": "tslint 'src/**/*.ts' && prettier --check .",
2021-02-03 19:21:22 +01:00
"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\"",
"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",
"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",
"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",
"pack:dir": "npm run clean:dist && electron-builder --dir -p never",
"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",
"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",
"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-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": {
"appId": "com.bitwarden.desktop",
"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",
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",
"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": [
"deb",
"freebsd",
"rpm",
"AppImage",
"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": {
2021-12-09 20:29:24 +01:00
"@angular/compiler-cli": "^12.2.13",
"@ngtools/webpack": "^12.2.13",
"@types/node": "^16.11.12",
"@types/node-ipc": "^9.1.4",
2021-12-09 20:29:24 +01:00
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^6.0.2",
2021-12-09 20:29:24 +01:00
"copy-webpack-plugin": "^10.0.0",
"cross-env": "^7.0.3",
2021-12-09 20:29:24 +01:00
"css-loader": "^6.5.1",
2021-09-28 16:51:53 +02:00
"electron-builder": "22.11.7",
"electron-notarize": "^1.1.1",
"electron-rebuild": "^3.2.5",
2020-01-27 15:46:50 +01:00
"electron-reload": "^1.5.0",
2018-01-16 20:48:34 +01:00
"font-awesome": "4.7.0",
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",
"rimraf": "^3.0.2",
"sass": "^1.32.11",
2021-12-09 20:29:24 +01:00
"sass-loader": "^12.4.0",
"tapable": "^1.1.3",
2021-12-09 20:29:24 +01:00
"ts-loader": "^9.2.5",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"tslint": "~6.1.0",
2019-01-22 05:38:27 +01:00
"tslint-loader": "^3.5.4",
2021-12-09 20:29:24 +01:00
"typescript": "4.3.5",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.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",
"@bitwarden/jslib-angular": "file:jslib/angular",
"@bitwarden/jslib-common": "file:jslib/common",
"@bitwarden/jslib-electron": "file:jslib/electron",
2021-12-09 20:29:24 +01:00
"ngx-toastr": "14.1.4",
"node-ipc": "^9.1.4",
"nord": "^0.2.1",
"regedit": "^3.0.3",
2021-12-09 20:29:24 +01:00
"rxjs": "^7.4.0",
"sweetalert2": "^10.16.6"
},
"engines": {
"node": "~16",
"npm": "~8"
2021-12-20 14:17:39 +01:00
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
2018-01-16 20:48:34 +01:00
}
}