From 7f7db304e86d13b87816531cedf9a64dfe194073 Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Wed, 28 Dec 2016 10:25:08 -0600 Subject: [PATCH] chore: Add pack npm script --- .eslintignore | 4 ++-- .gitignore | 2 ++ package.json | 7 +++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.eslintignore b/.eslintignore index 9cd5978..361134d 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,5 @@ -# The build artifacts of the jitsi-meet project. -build/* +# The build artifacts of the jitsi-meet-electron project. +Jitsi Meet* # ESLint will by default ignore its own configuration file. However, there does # not seem to be a reason why we will want to risk being inconsistent with our diff --git a/.gitignore b/.gitignore index 808417b..4598a50 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ # node_modules/ npm-debug.log + +Jitsi Meet* diff --git a/package.json b/package.json index d2129fa..cf56182 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,14 @@ "version": "0.0.0", "description": "Electron application for Jitsi Meet", "main": "main.js", + "productName": "Jitsi Meet", "scripts": { "start": "electron .", "build": "./electron_npm_rebuild", "clean": "rm -r node_modules .electron-gyp", "lint": "eslint .", - "validate": "npm ls" + "validate": "npm ls", + "pack": "electron-packager ." }, "pre-commit": [ "lint" @@ -35,6 +37,7 @@ "electron": "1.4.13", "eslint": ">=3", "eslint-plugin-jsdoc": "*", - "precommit-hook": "3.0.0" + "precommit-hook": "3.0.0", + "electron-packager": "*" } }