зеркало из https://github.com/docker/kitematic.git
Electron-Builder (#3447)
* Added ElectronBuilder * build info * added release targets in scripts * ignore dist-electron-builder * main changed * . * . * now more near final solution * more fix * Seems Pretty good * updated electron-builder last version * updated electron-builder * electron-version fixed
This commit is contained in:
Родитель
9cc70e2477
Коммит
26abc33e61
|
@ -2,6 +2,7 @@
|
||||||
.swp
|
.swp
|
||||||
build
|
build
|
||||||
dist
|
dist
|
||||||
|
dist-electron-builder/
|
||||||
release
|
release
|
||||||
installer
|
installer
|
||||||
node_modules
|
node_modules
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"appId": "com.docker.kitematic",
|
||||||
|
"asar": true,
|
||||||
|
"directories": {
|
||||||
|
"output": "./dist/"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filter": [
|
||||||
|
"!./node_modules/**/*",
|
||||||
|
"!./package.json"
|
||||||
|
],
|
||||||
|
"from": "./build/",
|
||||||
|
"to": "."
|
||||||
|
},
|
||||||
|
"packages.json"
|
||||||
|
],
|
||||||
|
"linux": {},
|
||||||
|
"mac": {
|
||||||
|
"category": "public.app-category.developer-tools"
|
||||||
|
},
|
||||||
|
"msi": {
|
||||||
|
"warningsAsErrors": false
|
||||||
|
},
|
||||||
|
"productName": "Kitematic",
|
||||||
|
"win": {
|
||||||
|
"extraResources": "./resources/**/*",
|
||||||
|
"icon": "./util/kitematic.ico",
|
||||||
|
"target": [
|
||||||
|
{
|
||||||
|
"target": "appx"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "msi"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -16,11 +16,14 @@
|
||||||
"test": "jest -c jest-unit.json",
|
"test": "jest -c jest-unit.json",
|
||||||
"integration": "jest -c jest-integration.json",
|
"integration": "jest -c jest-integration.json",
|
||||||
"release": "grunt release",
|
"release": "grunt release",
|
||||||
|
"release:linux": "grunt release && electron-builder --linux",
|
||||||
|
"release:mac": "grunt release && electron-builder --mac",
|
||||||
|
"release:windows": "grunt release && electron-builder --windows",
|
||||||
"release-verbose": "grunt --verbose release",
|
"release-verbose": "grunt --verbose release",
|
||||||
"lint": "eslint src"
|
"lint": "eslint src"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"electron-version": "0.35.4",
|
"electron-version": "1.7.11",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"JSONStream": "^1.0.7",
|
"JSONStream": "^1.0.7",
|
||||||
"alt": "^0.16.2",
|
"alt": "^0.16.2",
|
||||||
|
@ -58,6 +61,7 @@
|
||||||
"babel": "^5.8.23",
|
"babel": "^5.8.23",
|
||||||
"babel-jest": "^5.2.0",
|
"babel-jest": "^5.2.0",
|
||||||
"electron": "^1.7.11",
|
"electron": "^1.7.11",
|
||||||
|
"electron-builder": "^19.55.2",
|
||||||
"eslint": "^4.1.1",
|
"eslint": "^4.1.1",
|
||||||
"eslint-plugin-react": "^3.3.0",
|
"eslint-plugin-react": "^3.3.0",
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
|
@ -73,7 +77,7 @@
|
||||||
"grunt-download-electron": "^2.1.1",
|
"grunt-download-electron": "^2.1.1",
|
||||||
"grunt-electron": "^2.0.0",
|
"grunt-electron": "^2.0.0",
|
||||||
"grunt-electron-installer": "^1.0.4",
|
"grunt-electron-installer": "^1.0.4",
|
||||||
"grunt-electron-packager": "0.1.1",
|
"grunt-electron-packager": "^0.1.1",
|
||||||
"grunt-if-missing": "^1.0.0",
|
"grunt-if-missing": "^1.0.0",
|
||||||
"grunt-newer": "^1.1.1",
|
"grunt-newer": "^1.1.1",
|
||||||
"grunt-plistbuddy": "^0.1.1",
|
"grunt-plistbuddy": "^0.1.1",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче