mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-17 10:55:20 +01:00
a1f6d19ab7
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com> Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
59 lines
3.6 KiB
JSON
59 lines
3.6 KiB
JSON
{
|
|
"name": "@bitwarden/desktop",
|
|
"description": "A secure and free password manager for all of your devices.",
|
|
"version": "2023.7.0",
|
|
"keywords": [
|
|
"bitwarden",
|
|
"password",
|
|
"vault",
|
|
"password manager"
|
|
],
|
|
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
|
"homepage": "https://bitwarden.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bitwarden/clients.git"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"postinstall": "electron-rebuild",
|
|
"start": "cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build",
|
|
"build-native": "cargo build --manifest-path=./desktop_native/Cargo.toml",
|
|
"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": "npm run build-native && cross-env NODE_ENV=development webpack --config webpack.main.js",
|
|
"build:main:watch": "npm run build-native && cross-env NODE_ENV=development webpack --config webpack.main.js --watch",
|
|
"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": "node ./scripts/start.js",
|
|
"electron:ignore": "node ./scripts/start.js --ignore-certificate-errors",
|
|
"clean:dist": "rimraf ./dist",
|
|
"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 --universal -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\"",
|
|
"publish:win:dev": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always",
|
|
"upload:mas": "xcrun altool --upload-app --type osx --file \"$(find ./dist/mas-universal/Bitwarden*.pkg)\" --username $APPLE_ID_USERNAME --password $APPLE_ID_PASSWORD",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll"
|
|
}
|
|
}
|