ref/ postinstall web & electron
This commit is contained in:
46
package.json
46
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-electron",
|
||||
"version": "4.0.0",
|
||||
"version": "4.1.0",
|
||||
"description": "Angular 6 with Electron (Typescript + SASS + Hot Reload)",
|
||||
"homepage": "https://github.com/maximegris/angular-electron",
|
||||
"author": {
|
||||
@@ -17,36 +17,40 @@
|
||||
"main": "main.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"postinstall": "npx electron-builder install-app-deps && node postinstall",
|
||||
"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-all -p ng:serve electron:serve",
|
||||
"build": "npm run electron:tsc && ng build",
|
||||
"start": "npm run postinstall:electron && npm-run-all -p ng:serve electron:serve",
|
||||
"build": "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 -o",
|
||||
"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",
|
||||
"test": "ng test",
|
||||
"e2e": "ng e2e"
|
||||
"test": "npm run postinstall:web && ng test",
|
||||
"e2e": "npm run postinstall:web && ng e2e"
|
||||
},
|
||||
"dependencies": {
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "0.6.3",
|
||||
"@angular/cli": "6.0.3",
|
||||
"@angular/common": "6.0.3",
|
||||
"@angular/compiler": "6.0.3",
|
||||
"@angular/compiler-cli": "6.0.3",
|
||||
"@angular/core": "6.0.3",
|
||||
"@angular/forms": "6.0.3",
|
||||
"@angular/http": "6.0.3",
|
||||
"@angular/language-service": "6.0.3",
|
||||
"@angular/platform-browser": "6.0.3",
|
||||
"@angular/platform-browser-dynamic": "6.0.3",
|
||||
"@angular/router": "6.0.3",
|
||||
"@angular/cli": "6.0.6",
|
||||
"@angular/common": "6.0.6",
|
||||
"@angular/compiler": "6.0.6",
|
||||
"@angular/compiler-cli": "6.0.6",
|
||||
"@angular/core": "6.0.6",
|
||||
"@angular/forms": "6.0.6",
|
||||
"@angular/http": "6.0.6",
|
||||
"@angular/language-service": "6.0.6",
|
||||
"@angular/platform-browser": "6.0.6",
|
||||
"@angular/platform-browser-dynamic": "6.0.6",
|
||||
"@angular/router": "6.0.6",
|
||||
"@ngx-translate/core": "10.0.1",
|
||||
"@ngx-translate/http-loader": "3.0.1",
|
||||
"@types/jasmine": "2.8.7",
|
||||
@@ -54,7 +58,7 @@
|
||||
"@types/node": "8.9.4",
|
||||
"codelyzer": "4.2.1",
|
||||
"core-js": "2.5.6",
|
||||
"electron": "2.0.2",
|
||||
"electron": "2.0.3",
|
||||
"electron-builder": "20.14.7",
|
||||
"electron-reload": "1.2.2",
|
||||
"jasmine-core": "3.1.0",
|
||||
@@ -68,7 +72,7 @@
|
||||
"npx": "10.2.0",
|
||||
"protractor": "5.3.2",
|
||||
"rxjs": "6.1.0",
|
||||
"ts-node": "6.0.3",
|
||||
"ts-node": "6.0.6",
|
||||
"tslint": "5.10.0",
|
||||
"typescript": "2.7.2",
|
||||
"wait-on": "2.1.0",
|
||||
|
||||
Reference in New Issue
Block a user