-
-
Save vojtech-cerveny/79f1516972b7ff515d7f5724a1e670ea to your computer and use it in GitHub Desktop.
package.json for
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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ý <[email protected]>", | |
], | |
"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": "[email protected]" | |
}, | |
"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