fix/ build serve & electron with single tsc command
This commit is contained in:
@@ -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 .",
|
||||
|
||||
Reference in New Issue
Block a user