The parsed package.json contents. For the first function in the
array, the contents as copied into the bundled app; for subsequent functions, the object
returned by the previous function.
The version of Electron that is being bundled with the application.
The target platform you are packaging for.
The target architecture you are packaging for.
A function that receives the parsed contents of the bundled app's
package.jsonand returns the object that will be written back to disk. Mutating and returning the received object is fine. May be asynchronous.The functions in the sanitizePackageJson array run serially, and each function receives the object returned by the previous one.