From f032df10e635f8f10df105f8cab872de0c36c0bb Mon Sep 17 00:00:00 2001 From: nahuelarjonadev <25909829+nahuelarjonadev@users.noreply.github.com> Date: Sat, 7 Sep 2019 14:41:43 -0700 Subject: [PATCH] add NODE_ENV=production to package script --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 2e80580..b109ce4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint:fix": "yarn lint --fix", "lint:css": "stylelint --ignore-path .gitignore '**/*.*(css|scss)' --syntax scss", "lint:css:fix": "yarn lint:css --fix", - "package": "yarn build && electron-builder build --publish never", + "package": "cross-env NODE_ENV=production yarn build && cross-env NODE_ENV=production electron-builder build --publish never", "package-all": "yarn build && electron-builder build -mwl", "package-ci": "yarn postinstall && yarn build && electron-builder --publish always", "package-linux": "yarn build && electron-builder build --linux", @@ -49,7 +49,6 @@ ] }, "linux": { - "icon": "icon.png", "target": [ "deb", "rpm",