Skip to content

Commit 9106c8f

Browse files
committed
fix/ build serve & electron with single tsc command
1 parent a9448aa commit 9106c8f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-electron",
3-
"version": "4.2.1",
3+
"version": "4.2.2",
44
"description": "Angular 6 with Electron (Typescript + SASS + Hot Reload)",
55
"homepage": "https://github.com/maximegris/angular-electron",
66
"author": {
@@ -22,12 +22,11 @@
2222
"postinstall:electron": "node postinstall",
2323
"ng": "ng",
2424
"start": "npm run postinstall:electron && npm-run-all -p ng:serve electron:serve",
25-
"build": "npm run postinstall:electron && npm run electron:tsc && ng build",
25+
"build": "npm run postinstall:electron && npm run electron:serve-tsc && ng build",
2626
"build:dev": "npm run build -- -c dev",
2727
"build:prod": "npm run build -- -c production",
2828
"ng:serve": "ng serve",
2929
"ng:serve:web": "npm run postinstall:web && ng serve -o",
30-
"electron:tsc": "tsc",
3130
"electron:serve-tsc": "tsc -p tsconfig-serve.json",
3231
"electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:serve-tsc && electron . --serve",
3332
"electron:local": "npm run build:prod && electron .",

0 commit comments

Comments
 (0)