misc/ upgrade Electron (9.0.4) / Angular (9.1.11)
This commit is contained in:
12
README.md
12
README.md
@@ -15,9 +15,9 @@ Bootstrap and package your project with Angular 9 and Electron 8 (Typescript + S
|
||||
|
||||
Currently runs with:
|
||||
|
||||
- Angular v9.1.4
|
||||
- Electron v8.2.5
|
||||
- Electron Builder v22.6.0
|
||||
- Angular v9.1.11
|
||||
- Electron v9.0.4
|
||||
- Electron Builder v22.7.0
|
||||
|
||||
With this sample, you can :
|
||||
|
||||
@@ -71,9 +71,7 @@ You can disable "Developer Tools" by commenting `win.webContents.openDevTools();
|
||||
|`npm run build`| Build the app. Your built files are in the /dist folder. |
|
||||
|`npm run build:prod`| Build the app with Angular aot. Your built files are in the /dist folder. |
|
||||
|`npm run electron:local`| Builds your application and start electron
|
||||
|`npm run electron:linux`| Builds your application and creates an app consumable on linux system |
|
||||
|`npm run electron:windows`| On a Windows OS, builds your application and creates an app consumable in windows 32/64 bit systems |
|
||||
|`npm run electron:mac`| On a MAC OS, builds your application and generates a `.app` file of your application that can be run on Mac |
|
||||
|`npm run electron:build`| Builds your application and creates an app consumable based on your operating system |
|
||||
|
||||
**Your application is optimised. Only /dist folder and node dependencies are included in the executable.**
|
||||
|
||||
@@ -93,7 +91,7 @@ Maybe you want to execute the application in the browser with hot reload ? Just
|
||||
- Angular 6 & Electron 3 : Branch [angular6](https://github.com/maximegris/angular-electron/tree/angular6)
|
||||
- Angular 7 & Electron 3 : Branch [angular7](https://github.com/maximegris/angular-electron/tree/angular7)
|
||||
- Angular 8 & Electron 7 : Branch [angular8](https://github.com/maximegris/angular-electron/tree/angular8)
|
||||
- Angular 9 & Electron 8 : (master)
|
||||
- Angular 9 & Electron 9 : (master)
|
||||
|
||||
[build-badge]: https://travis-ci.org/maximegris/angular-electron.svg?branch=master&style=style=flat-square
|
||||
[build]: https://travis-ci.org/maximegris/angular-electron
|
||||
|
||||
52
package.json
52
package.json
@@ -28,8 +28,8 @@
|
||||
"ng:serve": "ng serve",
|
||||
"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 .",
|
||||
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && npx electron . --serve",
|
||||
"electron:local": "npm run build:prod && npx electron .",
|
||||
"electron:build": "npm run build:prod && electron-builder build",
|
||||
"test": "ng test --watch=false",
|
||||
"test:watch": "ng test",
|
||||
@@ -39,20 +39,20 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-builders/custom-webpack": "9.1.0",
|
||||
"@angular-devkit/build-angular": "0.901.4",
|
||||
"@angular-devkit/build-angular": "0.901.9",
|
||||
"@angular-eslint/builder": "0.0.1-alpha.18",
|
||||
"@angular/cli": "9.1.4",
|
||||
"@angular/common": "9.1.4",
|
||||
"@angular/compiler": "9.1.4",
|
||||
"@angular/compiler-cli": "9.1.4",
|
||||
"@angular/core": "9.1.4",
|
||||
"@angular/forms": "9.1.4",
|
||||
"@angular/language-service": "9.1.4",
|
||||
"@angular/platform-browser": "9.1.4",
|
||||
"@angular/platform-browser-dynamic": "9.1.4",
|
||||
"@angular/router": "9.1.4",
|
||||
"@angular/cli": "9.1.9",
|
||||
"@angular/common": "9.1.11",
|
||||
"@angular/compiler": "9.1.11",
|
||||
"@angular/compiler-cli": "9.1.11",
|
||||
"@angular/core": "9.1.11",
|
||||
"@angular/forms": "9.1.11",
|
||||
"@angular/language-service": "9.1.11",
|
||||
"@angular/platform-browser": "9.1.11",
|
||||
"@angular/platform-browser-dynamic": "9.1.11",
|
||||
"@angular/router": "9.1.11",
|
||||
"@ngx-translate/core": "12.1.2",
|
||||
"@ngx-translate/http-loader": "4.0.0",
|
||||
"@ngx-translate/http-loader": "5.0.0",
|
||||
"@types/jasmine": "3.5.10",
|
||||
"@types/jasminewd2": "2.0.8",
|
||||
"@types/mocha": "7.0.2",
|
||||
@@ -61,30 +61,30 @@
|
||||
"@typescript-eslint/parser": "2.27.0",
|
||||
"chai": "4.2.0",
|
||||
"codelyzer": "5.2.2",
|
||||
"conventional-changelog-cli": "2.0.32",
|
||||
"conventional-changelog-cli": "2.0.34",
|
||||
"core-js": "3.6.5",
|
||||
"cross-env": "7.0.2",
|
||||
"devtron": "1.4.0",
|
||||
"electron": "8.2.5",
|
||||
"electron-builder": "22.6.0",
|
||||
"electron": "9.0.4",
|
||||
"electron-builder": "22.7.0",
|
||||
"electron-reload": "1.5.0",
|
||||
"eslint": "6.8.0",
|
||||
"eslint-plugin-import": "2.20.2",
|
||||
"jasmine-core": "3.5.0",
|
||||
"jasmine-spec-reporter": "5.0.2",
|
||||
"karma": "5.0.4",
|
||||
"karma-coverage-istanbul-reporter": "3.0.0",
|
||||
"karma": "5.1.0",
|
||||
"karma-coverage-istanbul-reporter": "3.0.3",
|
||||
"karma-electron": "6.3.0",
|
||||
"karma-jasmine": "3.1.1",
|
||||
"karma-jasmine-html-reporter": "1.5.3",
|
||||
"mocha": "7.1.2",
|
||||
"karma-jasmine": "3.3.1",
|
||||
"karma-jasmine-html-reporter": "1.5.4",
|
||||
"mocha": "8.0.1",
|
||||
"npm-run-all": "4.1.5",
|
||||
"rxjs": "6.5.5",
|
||||
"spectron": "10.0.1",
|
||||
"ts-node": "8.9.1",
|
||||
"tslib": "1.11.1",
|
||||
"spectron": "11.0.0",
|
||||
"ts-node": "8.10.2",
|
||||
"tslib": "2.0.0",
|
||||
"typescript": "3.8.3",
|
||||
"wait-on": "4.0.2",
|
||||
"wait-on": "5.0.1",
|
||||
"webdriver-manager": "12.1.7",
|
||||
"zone.js": "0.10.3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user