158 lines
4.6 KiB
JSON
158 lines
4.6 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": "8bit Solutions LLC <hello@bitwarden.com> (https://bitwarden.com)",
|
|
"homepage": "https://bitwarden.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bitwarden/desktop"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"lint": "tslint src/**/*.ts || true",
|
|
"lint:fix": "tslint src/**/*.ts --fix",
|
|
"build": "npm run build:main | npm run build:renderer",
|
|
"build:main": "webpack --config webpack.main.js",
|
|
"build:renderer": "webpack --config webpack.renderer.js",
|
|
"build:renderer:watch": "webpack --config webpack.renderer.js --watch",
|
|
"electron": "npm run build:main && (electron --inspect=5858 ./build --watch | npm run build:renderer:watch)",
|
|
"pack:linux": "build --linux --x64",
|
|
"pack:mac": "build --mac",
|
|
"pack:maclinux": "build --mac --linux --x64",
|
|
"pack:win": "build --win --x64 --ia32",
|
|
"dist:linux": "npm run build && npm run pack:linux",
|
|
"dist:mac": "npm run build && npm run pack:mac",
|
|
"dist:maclinux": "npm run build && npm run pack:maclinux",
|
|
"dist:win": "npm run build && npm run pack:win",
|
|
"publish:linux": "npm run build && build --linux --x64 -p always",
|
|
"publish:mac": "npm run build && build --mac -p always",
|
|
"publish:maclinux": "npm run build && build --mac --linux --x64 -p always",
|
|
"publish:win": "npm run build && build --win --x64 --ia32 -p always"
|
|
},
|
|
"build": {
|
|
"appId": "com.bitwarden.desktop",
|
|
"copyright": "Copyright © 2015-2018 8bit Solutions LLC",
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"output": "dist",
|
|
"app": "build"
|
|
},
|
|
"mac": {
|
|
"electronUpdaterCompatibility": ">=0.0.1",
|
|
"category": "public.app-category.productivity",
|
|
"target": [
|
|
"mas-dev",
|
|
"mas",
|
|
"dmg",
|
|
"zip"
|
|
]
|
|
},
|
|
"win": {
|
|
"electronUpdaterCompatibility": ">=0.0.1",
|
|
"target": [
|
|
"portable",
|
|
"nsis-web"
|
|
]
|
|
},
|
|
"linux": {
|
|
"category": "Utility",
|
|
"synopsis": "A secure and free password manager for all of your devices.",
|
|
"target": [
|
|
"snap",
|
|
"rpm",
|
|
"AppImage",
|
|
"deb"
|
|
]
|
|
},
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 150,
|
|
"y": 185,
|
|
"type": "file"
|
|
},
|
|
{
|
|
"x": 390,
|
|
"y": 180,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
],
|
|
"window": {
|
|
"width": 540,
|
|
"height": 380
|
|
}
|
|
},
|
|
"nsisWeb": {
|
|
"oneClick": false,
|
|
"perMachine": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"artifactName": "${productName} Installer ${version}.${ext}",
|
|
"uninstallDisplayName": "${productName}",
|
|
"deleteAppDataOnUninstall": true
|
|
},
|
|
"portable": {
|
|
"artifactName": "${productName} Portable ${version}.${ext}"
|
|
},
|
|
"deb": {
|
|
"depends": ["gconf2", "gconf-service", "libnotify4", "libxtst6", "libnss3"]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@bitwarden/jslib": "git+https://github.com/bitwarden/jslib.git",
|
|
"@types/keytar": "^4.0.1",
|
|
"clean-webpack-plugin": "^0.1.17",
|
|
"copy-webpack-plugin": "^4.2.0",
|
|
"css-loader": "^0.28.7",
|
|
"electron": "1.8.2",
|
|
"electron-builder": "^19.56.0",
|
|
"electron-rebuild": "1.7.3",
|
|
"electron-reload": "1.2.2",
|
|
"extract-text-webpack-plugin": "^3.0.1",
|
|
"file-loader": "^1.1.5",
|
|
"font-awesome": "4.7.0",
|
|
"google-fonts-webpack-plugin": "^0.4.4",
|
|
"html-loader": "^0.5.1",
|
|
"html-webpack-plugin": "^2.30.1",
|
|
"node-loader": "^0.6.0",
|
|
"node-sass": "^4.7.2",
|
|
"sass-loader": "^6.0.6",
|
|
"ts-loader": "^3.5.0",
|
|
"tslint": "^5.9.1",
|
|
"tslint-loader": "^3.5.3",
|
|
"typescript": "^2.7.1",
|
|
"webpack": "^3.10.0",
|
|
"webpack-merge": "^4.1.0",
|
|
"webpack-node-externals": "^1.6.0"
|
|
},
|
|
"dependencies": {
|
|
"@angular/animations": "5.2.0",
|
|
"@angular/common": "5.2.0",
|
|
"@angular/compiler": "5.2.0",
|
|
"@angular/core": "5.2.0",
|
|
"@angular/forms": "5.2.0",
|
|
"@angular/http": "5.2.0",
|
|
"@angular/platform-browser": "5.2.0",
|
|
"@angular/platform-browser-dynamic": "5.2.0",
|
|
"@angular/router": "5.2.0",
|
|
"@angular/upgrade": "5.2.0",
|
|
"angular2-toaster": "4.0.2",
|
|
"angulartics2": "5.0.1",
|
|
"core-js": "2.4.1",
|
|
"desktop-idle": "1.1.1",
|
|
"electron-updater": "2.20.1",
|
|
"electron-store": "1.3.0",
|
|
"keytar": "4.1.0",
|
|
"rxjs": "5.5.6",
|
|
"zone.js": "0.8.19"
|
|
}
|
|
}
|