Skip to content

Commit a304034

Browse files
author
GRIS Maxime
committed
feat/ update to Angular 9 & Electron 8
1 parent 320ce2f commit a304034

File tree

3 files changed

+31
-29
lines changed

3 files changed

+31
-29
lines changed

package.json

+30-27
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-electron",
33
"version": "7.0.0",
4-
"description": "Angular 8 with Electron (Typescript + SASS + Hot Reload)",
4+
"description": "Angular 9 with Electron (Typescript + SASS + Hot Reload)",
55
"homepage": "https://github.com/maximegris/angular-electron",
66
"author": {
77
"name": "Maxime GRIS",
@@ -21,7 +21,7 @@
2121
"scripts": {
2222
"postinstall": "electron-builder install-app-deps",
2323
"ng": "ng",
24-
"start": "npm-run-all -p ng:serve electron:serve",
24+
"start": "npm-run-all -p electron:serve ng:serve",
2525
"build": "npm run electron:serve-tsc && ng build",
2626
"build:dev": "npm run build -- -c dev",
2727
"build:prod": "npm run build -- -c production",
@@ -39,36 +39,36 @@
3939
"lint": "ng lint"
4040
},
4141
"devDependencies": {
42-
"@angular-builders/custom-webpack": "8.2.0",
43-
"@angular-devkit/build-angular": "0.803.25",
44-
"@angular-eslint/builder": "0.0.1-alpha.17",
45-
"@angular/cli": "8.3.25",
46-
"@angular/common": "8.2.14",
47-
"@angular/compiler": "8.2.14",
48-
"@angular/compiler-cli": "8.2.14",
49-
"@angular/core": "8.2.14",
50-
"@angular/forms": "8.2.14",
51-
"@angular/language-service": "8.2.14",
52-
"@angular/platform-browser": "8.2.14",
53-
"@angular/platform-browser-dynamic": "8.2.14",
54-
"@angular/router": "8.2.14",
55-
"@ngx-translate/core": "11.0.1",
42+
"@angular-builders/custom-webpack": "8.4.1",
43+
"@angular-devkit/build-angular": "0.900.1",
44+
"@angular-eslint/builder": "0.0.1-alpha.18",
45+
"@angular/cli": "9.0.1",
46+
"@angular/common": "9.0.0",
47+
"@angular/compiler": "9.0.0",
48+
"@angular/compiler-cli": "9.0.0",
49+
"@angular/core": "9.0.0",
50+
"@angular/forms": "9.0.0",
51+
"@angular/language-service": "9.0.0",
52+
"@angular/platform-browser": "9.0.0",
53+
"@angular/platform-browser-dynamic": "9.0.0",
54+
"@angular/router": "9.0.0",
55+
"@ngx-translate/core": "12.0.0",
5656
"@ngx-translate/http-loader": "4.0.0",
5757
"@types/jasmine": "3.3.16",
5858
"@types/jasminewd2": "2.0.8",
5959
"@types/mocha": "5.2.7",
60-
"@types/node": "12.6.9",
61-
"@typescript-eslint/eslint-plugin": "2.8.0",
62-
"@typescript-eslint/parser": "2.8.0",
60+
"@types/node": "12.11.1",
61+
"@typescript-eslint/eslint-plugin": "2.19.0",
62+
"@typescript-eslint/parser": "2.19.0",
6363
"chai": "4.2.0",
6464
"codelyzer": "5.1.2",
6565
"conventional-changelog-cli": "2.0.32",
6666
"core-js": "3.1.4",
6767
"electron": "8.0.0",
6868
"electron-builder": "22.3.2",
6969
"electron-reload": "1.5.0",
70-
"eslint": "6.6.0",
71-
"eslint-plugin-import": "2.18.2",
70+
"eslint": "6.8.0",
71+
"eslint-plugin-import": "2.20.1",
7272
"jasmine-core": "3.4.0",
7373
"jasmine-spec-reporter": "4.2.1",
7474
"karma": "4.2.0",
@@ -78,15 +78,18 @@
7878
"karma-jasmine-html-reporter": "1.4.2",
7979
"mocha": "6.2.2",
8080
"npm-run-all": "4.1.5",
81-
"rxjs": "6.5.3",
82-
"spectron": "9.0.0",
81+
"rxjs": "6.5.4",
82+
"spectron": "10.0.1",
8383
"ts-node": "8.3.0",
84-
"typescript": "3.5.3",
85-
"wait-on": "3.3.0",
84+
"typescript": "3.7.5",
85+
"wait-on": "4.0.0",
8686
"webdriver-manager": "12.1.7",
87-
"zone.js": "0.9.1"
87+
"zone.js": "0.10.2"
8888
},
8989
"engines": {
90-
"node": ">=10.9.0"
90+
"node": ">=10.13.0"
91+
},
92+
"dependencies": {
93+
"tslib": "1.10.0"
9194
}
9295
}

src/typings.d.ts

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ declare var nodeModule: NodeModule;
33
interface NodeModule {
44
id: string;
55
}
6-
7-
declare var window: Window;
86
interface Window {
97
process: any;
108
require: any;

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compileOnSave": false,
33
"compilerOptions": {
4+
"module": "esnext",
45
"outDir": "./dist/out-tsc",
56
"sourceMap": true,
67
"declaration": false,

0 commit comments

Comments
 (0)