* 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:
Raul Hidalgo Caballero 2018-02-27 03:42:41 +01:00 коммит произвёл French Ben
Родитель 9cc70e2477
Коммит 26abc33e61
4 изменённых файлов: 9480 добавлений и 2 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -2,6 +2,7 @@
.swp
build
dist
dist-electron-builder/
release
installer
node_modules

38
electron-builder.json Normal file
Просмотреть файл

@ -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"
}
]
}
}

9435
package-lock.json сгенерированный Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -16,11 +16,14 @@
"test": "jest -c jest-unit.json",
"integration": "jest -c jest-integration.json",
"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",
"lint": "eslint src"
},
"license": "Apache-2.0",
"electron-version": "0.35.4",
"electron-version": "1.7.11",
"dependencies": {
"JSONStream": "^1.0.7",
"alt": "^0.16.2",
@ -58,6 +61,7 @@
"babel": "^5.8.23",
"babel-jest": "^5.2.0",
"electron": "^1.7.11",
"electron-builder": "^19.55.2",
"eslint": "^4.1.1",
"eslint-plugin-react": "^3.3.0",
"grunt": "^0.4.5",
@ -73,7 +77,7 @@
"grunt-download-electron": "^2.1.1",
"grunt-electron": "^2.0.0",
"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-newer": "^1.1.1",
"grunt-plistbuddy": "^0.1.1",