Confusion setting up electron-builder



I am new to Electron and Node.js both, so I hope you will pardon the noob question.

I’ve put together a very simple app. My only dependencies are electron itself and electron-packager. From high altitude, it looks like this:


Pretty normal, as I understand things.

So I’m reading about electron-builder, and its two package.json configuration, and it’s just not clear. Do I simply move all of the above into a subfolder, then npm init and install electron-builder in the root folder?

What little I’ve found to read about electron-builder seems fragmented at best, and so it’s entirely unclear to me how this thing actually sets up.