From 9106c8fa4fa874e2fdfc8a5e6ecf2479ffd09828 Mon Sep 17 00:00:00 2001 From: Maxime GRIS Date: Wed, 22 Aug 2018 12:16:59 +0200 Subject: [PATCH] fix/ build serve & electron with single tsc command --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e3d05ca5f..bb1451571 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-electron", - "version": "4.2.1", + "version": "4.2.2", "description": "Angular 6 with Electron (Typescript + SASS + Hot Reload)", "homepage": "https://github.com/maximegris/angular-electron", "author": { @@ -22,12 +22,11 @@ "postinstall:electron": "node postinstall", "ng": "ng", "start": "npm run postinstall:electron && npm-run-all -p ng:serve electron:serve", - "build": "npm run postinstall:electron && npm run electron:tsc && ng build", + "build": "npm run postinstall:electron && npm run electron:serve-tsc && ng build", "build:dev": "npm run build -- -c dev", "build:prod": "npm run build -- -c production", "ng:serve": "ng serve", "ng:serve:web": "npm run postinstall:web && ng serve -o", - "electron:tsc": "tsc", "electron:serve-tsc": "tsc -p tsconfig-serve.json", "electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:serve-tsc && electron . --serve", "electron:local": "npm run build:prod && electron .",