Skip to content

Commit

Permalink
use local electron from devDependencies instead of npx
Browse files Browse the repository at this point in the history
If we use npx electron we are using the last npm version instead of the local one.
This could cause instability
  • Loading branch information
antonellopasella committed Nov 25, 2021
1 parent 4fe8c2c commit a029060
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a029060

Please sign in to comment.