Created
November 20, 2020 15:38
-
-
Save lucianobragaweb/77210421c90f5a3856deebb38cf853df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"postinstall": "npm run postinstall:electron && npx electron-builder install-app-deps", | |
"postinstall:web": "node postinstall-web", | |
"postinstall:electron": "node postinstall", | |
"ng": "ng", | |
"start": "npm run postinstall:electron && npm-run-all -p ng:serve electron:serve", | |
"build": "node clean && npm run postinstall:electron && npm run electron: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 main.ts", | |
"electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:tsc && electron . --serve", | |
"electron:local": "npm run build:prod && electron .", | |
"electron:linux": "npm run build:prod && npx electron-builder build --linux", | |
"electron:windows": "npm run build:prod && npx electron-builder build --windows", | |
"electron:mac": "npm run build:prod && npx electron-builder build --mac", | |
"dist": "npm run build:prod && npx electron-builder --publish always", | |
"test": "npm run postinstall:web && ng test", | |
"e2e": "npm run postinstall:web && ng e2e" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment