From c23badeeaa251d2f041f6461e815a1e0e69fd56d Mon Sep 17 00:00:00 2001 From: Osmar Costa Date: Tue, 20 Jun 2017 20:19:42 -0300 Subject: [PATCH] Fix npm run build:prod --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e17af531..ac8600880 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "start:web": "webpack-dev-server --content-base . --port 4200 --inline", "build:electron:main": "tsc main.ts --outDir dist && copyfiles package.json dist && cd dist && npm install --prod && cd ..", "build": "webpack --display-error-details && npm run build:electron:main", - "build:prod": "cross-env NODE_ENV='production' npm run build", + "build:prod": "cross-env NODE_ENV='production' && npm run build", "electron:serve": "npm run build:electron:main && electron ./dist --serve", "electron:test": "electron ./dist", "electron:dev": "npm run build && electron ./dist",