1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +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": { "scripts": {
"lint": "tslint src/**/*.ts || true", "lint": "tslint src/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts --fix", "lint:fix": "tslint src/**/*.ts --fix",
"build": "npm run build:main | npm run build:renderer",
"build:main": "webpack --config webpack.main.js", "build:main": "webpack --config webpack.main.js",
"build:renderer": "webpack --config webpack.renderer.js", "build:renderer": "webpack --config webpack.renderer.js",
"build:renderer:watch": "webpack --config webpack.renderer.js --watch", "build:renderer:watch": "webpack --config webpack.renderer.js --watch",
"electron": "npm run build:main && (electron --inspect=5858 ./build --watch | npm run build:renderer:watch)", "electron": "npm run build:main && (electron --inspect=5858 ./build --watch | npm run build:renderer:watch)",
"pack": "electron-builder --dir", "pack:linux": "build --linux --x64",
"dist": "electron-builder" "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": { "build": {
"appId": "com.bitwarden.desktop", "appId": "com.bitwarden.desktop",
@ -35,7 +40,28 @@
"app": "build" "app": "build"
}, },
"mac": { "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": { "dmg": {
"background": "./resources/background.png", "background": "./resources/background.png",
@ -58,17 +84,12 @@
} }
}, },
"nsis": { "nsis": {
"perMachine": true "oneClick": false,
}, "perMachine": true,
"linux": { "allowToChangeInstallationDirectory": true,
"target": [ "uninstallDisplayName": "${productName}",
"snap", "artifactName": "${productName} Setup.${ext}",
"rpm", "deleteAppDataOnUninstall": true
"AppImage",
"deb"
],
"category": "Utility",
"synopsis": "A secure and free password manager for all of your devices."
} }
}, },
"devDependencies": { "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