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

more building

This commit is contained in:
Kyle Spearrin 2018-02-14 23:53:52 -05:00
parent 490e16798b
commit 2711a2b6c6
11 changed files with 35 additions and 14 deletions

View File

@ -19,12 +19,17 @@
"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": "electron-builder --dir",
"dist": "electron-builder"
"pack:linux": "build --linux --x64",
"pack:mac": "build --mac",
"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:win": "npm run build && npm run pack:win"
},
"build": {
"appId": "com.bitwarden.desktop",
@ -35,7 +40,28 @@
"app": "build"
},
"mac": {
"category": "public.app-category.productivity"
"category": "public.app-category.productivity",
"target": [
"dmg",
"zip"
]
},
"win": {
"target": [
"portable",
"nsis"
],
"electronUpdaterCompatibility": ">=0.0.1"
},
"linux": {
"target": [
"snap",
"rpm",
"AppImage",
"deb"
],
"category": "Utility",
"synopsis": "A secure and free password manager for all of your devices."
},
"dmg": {
"background": "./resources/background.png",
@ -58,17 +84,12 @@
}
},
"nsis": {
"perMachine": true
},
"linux": {
"target": [
"snap",
"rpm",
"AppImage",
"deb"
],
"category": "Utility",
"synopsis": "A secure and free password manager for all of your devices."
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"uninstallDisplayName": "${productName}",
"artifactName": "${productName} Setup.${ext}",
"deleteAppDataOnUninstall": true
}
},
"devDependencies": {

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 403 B

After

Width:  |  Height:  |  Size: 403 B

View File

Before

Width:  |  Height:  |  Size: 636 B

After

Width:  |  Height:  |  Size: 636 B

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 636 B

After

Width:  |  Height:  |  Size: 636 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB