From 941060d3a0e0167880de7790cd3dd1bd062501a7 Mon Sep 17 00:00:00 2001 From: akashnimare Date: Fri, 16 Sep 2016 06:15:26 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BB=20=20Foco=20-=20stable=20v1.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 11e9246..5e24d87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Foco", - "version": "0.0.2", + "version": "0.0.3", "productName": "Foco", "description": "Stay focused with Foco and boosts productivity 🚀 by creating perfect productive environment.", "author": "Akash Nimare", @@ -16,7 +16,9 @@ "scripts": { "test": "standard", "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" + "build:dmg" : "electron-installer-dmg ./dist/Foco-darwin-x64/Foco.app ./dist/Foco-$npm_package_version", + "clean":"rm -Rf ./dist", + "build:osx": "npm run clean && 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 && npm run build:dmg && zip -ryXq9 ../Foco-osx-${npm_package_version}.zip Foco.app" }, "keywords": [ "electron", @@ -33,6 +35,7 @@ }, "devDependencies": { "electron-packager": "^7.0.0", + "electron-installer-dmg":"*", "electron": "1.3.3", "standard": "*" }