package.json file is a format for describing Node.js modules. Local Add-ons are built on top of Node.js modules.
You must define a
The renderer process is what runs inside the main window. This is where you'll add buttons, forms, and any other user interface elements.
Most Add-ons will exclusively use the renderer process entry point for the sake of simplicity.
By tapping into the main process, you can run processes even when the window is closed but Local is still running.