Skip to content

Commit

Permalink
⭐ updated electron/packager version
Browse files Browse the repository at this point in the history
  • Loading branch information
akashnimare committed Sep 14, 2016
1 parent ccf7324 commit 427e69d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules
*.app
dist
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
var menubar = require('menubar')
var Menu = require('menu');
var electron = require('electron')
var app = electron.app
var {Menu} = require('electron')

var mb = menubar({transparent: true, width: 340, height:600, icon: __dirname + '/img/Icon.png'})

Expand Down
34 changes: 22 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
{
"name": "foco",
"name": "Foco",
"version": "0.0.2",
"productName": "Foco",
"description": "Stay focused with Foco and boosts productivity 🚀 by creating perfect productive environment.",
"main": "index.js",
"author": "Akash Nimare",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/akashnimare/foco"
},
"bugs": {
"url": "https://github.com/akashnimare/foco/issues"
},
"main": "index.js",
"scripts": {
"build": "electron-packager . Example --platform=darwin --arch=x64 --version=0.36.0 --icon=img/Icon.icns",
"start": "electron ."
"test": "xo",
"start": "electron .",
"build:osx": "electron-packager . Foco --out=dist --ignore=dist --app-version=$npm_package_version --prune --asar --icon=img/Icon.icns --overwrite --platform=darwin --arch=x64 && cd dist/Foco-darwin-x64 && zip -ryXq9 ../Foco-osx-${npm_package_version}.zip Foco.app"
},
"keywords": [
"electron",
Expand All @@ -20,17 +27,20 @@
"mac",
"app"
],
"author": "Akash Nimare",
"license": "MIT",
"bugs": {
"url": "https://github.com/akashnimare/foco"
},
"homepage": "",
"dependencies": {
"menubar": "*"
},
"devDependencies": {
"electron-packager": "^5.1.0",
"electron-prebuilt": "^0.36.0"
}
"electron-packager": "^7.0.0",
"electron": "1.3.3",
"xo": "*"
},
"xo": {
"esnext": true,
"envs": [
"node",
"browser"
]
}
}

0 comments on commit 427e69d

Please sign in to comment.