Instantly share code, notes, and snippets.

Embed
What would you like to do?
A template package.json for packaging an Ext JS app with Electron for macOS ONLY
{
"name": "starterapp",
"version": "1.0.0",
"description": "A starter Ext JS 6 App",
"main": "./app/main.js",
"scripts": {
"start": "electron .",
"package": "electron-packager ./ starterapp --platform=darwin --out ./dist --overwrite",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "TBD",
"license": "UNLICENSED",
"dependencies": {
"electron-prebuilt": "^1.3.5"
},
"devDependencies": {
"electron-packager": "^8.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment