use local electron from devDependencies instead of npx

If we use npx electron we are using the last npm version instead of the local one.
This could cause instability
This commit is contained in:
Antonello Pasella
2021-11-25 16:08:36 +01:00
committed by GitHub
parent 4fe8c2cac2
commit a0290605ee

View File

@@ -31,9 +31,10 @@
"build:dev": "npm run build -- -c dev",
"build:prod": "npm run build -- -c production",
"ng:serve": "ng serve -c web -o",
"electron": "electron",
"electron:serve-tsc": "tsc -p tsconfig.serve.json",
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && npx electron . --serve",
"electron:local": "npm run build:prod && npx electron .",
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && electron . --serve",
"electron:local": "npm run build:prod && electron .",
"electron:build": "npm run build:prod && electron-builder build --publish=never",
"test": "ng test --watch=false",
"test:watch": "ng test",