Created
June 22, 2016 13:03
-
-
Save AbraaoAlves/92c78cf55b53b60d7f86240aaeb73a2d to your computer and use it in GitHub Desktop.
build electron@0.35 app package.json sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": { | |
| "postinstall": "electron-rebuild", | |
| "test": "gulp test", | |
| "compile": "gulp build", | |
| "start": "npm run compile && electron main.js", | |
| "clean": "rimraf ./output", | |
| "clean:osx": "rimraf ./output/osx", | |
| "clean:win": "rimraf ./output/win", | |
| "build": "npm run clean && concurrently \"npm run build:osx\" \"npm run build:win\"", | |
| "build:osx": "npm run clean:osx && electron-packager ./ \"Vibe\" --out=output/osx --platform=darwin --arch=x64 --version=0.35.1 --icon=src/vibe-logo.icns", | |
| "build:win": "npm run clean:win && electron-packager ./ \"Vibe\" --out=output/win --platform=win32 --arch=ia32 --version=0.35.1 --icon=src/favicon.ico", | |
| "pack": "concurrently \"npm run pack:osx\" \"npm run pack:win\"", | |
| "pack:osx": "npm run build:osx && electron-builder output/osx/Vibe.app --platform=osx --out=output/osx --config=package.json", | |
| "pack:win": "npm run build:win && electron-builder output/win/Vibe-win32-ia32 --platform=win --out=output/win/ --config=package.json" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment