require is not defined

fix security issue with http local server:
https://github.com/electron/electron/blob/master/docs/api/browser-window.md#class-browserwindow

beutify dev-web -> web
fix tslint.json v5 naming issue
This commit is contained in:
Yuri Cherepanov
2019-11-15 22:45:10 +02:00
parent c4b2cb6733
commit 632c454056
4 changed files with 7 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
"build:dev": "npm run build -- -c dev",
"build:prod": "npm run build -- -c production",
"ng:serve": "ng serve",
"ng:serve:web": "ng serve -c dev-web -o",
"ng:serve:web": "ng serve -c web -o",
"electron:serve-tsc": "tsc -p tsconfig-serve.json",
"electron:serve": "wait-on http-get://localhost:4200/ && npm run electron:serve-tsc && electron . --serve",
"electron:local": "npm run build:prod && electron .",
@@ -59,7 +59,7 @@
"codelyzer": "5.1.0",
"conventional-changelog-cli": "2.0.25",
"core-js": "3.1.4",
"electron": "7.0.0",
"electron": "7.1.1",
"electron-builder": "21.2.0",
"electron-reload": "1.5.0",
"jasmine-core": "3.4.0",