A convenient way to package your application is to write the scripts in your packages.json file and run them with the npm run command
{
"name": "AppName",
"productName": "AppName",
"version": "0.1.1",
"main": ...