Skip to content

Instantly share code, notes, and snippets.

@vojtech-cerveny
Created January 5, 2018 15:38
Show Gist options
  • Save vojtech-cerveny/79f1516972b7ff515d7f5724a1e670ea to your computer and use it in GitHub Desktop.
Save vojtech-cerveny/79f1516972b7ff515d7f5724a1e670ea to your computer and use it in GitHub Desktop.
package.json for
{
"name": "App",
"version": "v2.0.0",
"description": "desc",
"homepage": "https://app.com/",
"main": "src/main.js",
"scripts": {
"start": "DEV=true electron src/main.js ",
"test": "echo \"Error: no test specified\" && exit 1",
"dist:win": "electron-builder --win",
"dist:linux": "electron-builder --linux",
"dist:mac": "export CSC_LINK=file://build/Private_Key_Developer_ID_Application.p12 && electron-builder --mac",
"postinstall": "electron-builder install-app-deps",
},
"contributors": [
"Vojtěch Červený <vojtech.cerveny@profiq.com>",
],
"license": "ISC",
"devDependencies": {
"electron": "^1.6.11",
"electron-builder": "19.37.2",
"electron-packager": "^8.7.2",
},
"build": {
"appId": "app.electron",
"productName": "App",
"directories": {
"app": "src/",
"output": "dist/"
},
"asarUnpack": [
"public/"
],
"extraResources": [
"build/LICENSE.txt"
],
"mac": {
"category": "public.app-category.developer-tools"
},
"linux": {
"target": [
"AppImage"
],
"icon": "build/",
"category": "Development",
"synopsis": "desc",
"description": "Desc"
},
"win": {
"target": "nsis",
"icon": "build/icon.ico",
"publisherName": "vojtech.cerveny@profiq.com"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": false,
"installerIcon": "build/icon.ico",
"installerSidebar": "build/win/installerSidebar.bmp",
"installerHeader": "build/win/installerHeader.bmp",
"license": "build/LICENSE.txt"
},
"publish": {
"provider": "generic",
"url": "http://192.168.1.1:5000"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment