Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shikhirsingh
Created September 11, 2016 20:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shikhirsingh/a2bd9116b0c2418d065f3519592692a6 to your computer and use it in GitHub Desktop.
Save shikhirsingh/a2bd9116b0c2418d065f3519592692a6 to your computer and use it in GitHub Desktop.
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