Skip to content

Commit ab605a3

Browse files
authored
Merge pull request #660 from antonellopasella/patch-1
use local electron from devDependencies instead of npx
2 parents 4fe8c2c + a029060 commit ab605a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@
3131
"build:dev": "npm run build -- -c dev",
3232
"build:prod": "npm run build -- -c production",
3333
"ng:serve": "ng serve -c web -o",
34+
"electron": "electron",
3435
"electron:serve-tsc": "tsc -p tsconfig.serve.json",
35-
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && npx electron . --serve",
36-
"electron:local": "npm run build:prod && npx electron .",
36+
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && electron . --serve",
37+
"electron:local": "npm run build:prod && electron .",
3738
"electron:build": "npm run build:prod && electron-builder build --publish=never",
3839
"test": "ng test --watch=false",
3940
"test:watch": "ng test",

0 commit comments

Comments
 (0)