Building and deploying application

Article updated to use electron-builder v4+

This article is part of the Distributing Electron apps series.

Goal

Make one-liner to build and deploy your app!

Cut to the chase

Put this in development (root) package.json:

"scripts": {
    "dist": "build -mwl --x64 --ia32",
    "prerelease:osx": "rm -rf release/osx && mkdirp release/osx",
    "release:osx": "cp -rv dist/osx/*.{dmg,zip} release/osx && PACKAGE_VERSION=$(cat app/package.

Read More