-
Notifications
You must be signed in to change notification settings - Fork 188
/
Copy pathpackage.json
27 lines (27 loc) · 1.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "electron-tutorial-app",
"productName": "Electron tutorial app",
"description": "Application for electron tutorials",
"version": "1.0.0",
"main": "main.js",
"license": "MIT",
"author": "Christian Engvall",
"devDependencies": {
"electron": "^5.0.8",
"electron-installer-dmg": "^3.0.0",
"electron-packager": "^12.2.0",
"electron-winstaller": "^2.7.0"
},
"repository": {
"type": "git",
"url": "https://github.com/crilleengvall/electron-tutorial-app.git"
},
"scripts": {
"package-mac": "electron-packager . --overwrite --asar --platform=darwin --arch=x64 --icon=assets/icons/mac/icon.icns --prune=true --out=release-builds --darwinDarkModeSupport=true",
"package-win": "electron-packager . electron-tutorial-app --overwrite --asar --platform=win32 --arch=ia32 --icon=assets/icons/win/icon.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"Electron Tutorial App\"",
"package-linux": "electron-packager . electron-tutorial-app --overwrite --asar --platform=linux --arch=x64 --icon=assets/icons/png/1024x1024.png --prune=true --out=release-builds",
"create-installer-mac": "electron-installer-dmg ./release-builds/Electron\\ tutorial\\ app-darwin-x64/Electron\\ tutorial\\ app.app electron-tutorial-app --out=release-builds --overwrite --icon=assets/icons/mac/icon.icns",
"create-installer-win": "node installers/windows/createinstaller.js",
"create-debian-installer": "electron-installer-debian --src release-builds/electron-tutorial-app-linux-x64/ --arch amd64 --config debian.json"
}
}