Allow Angular Using Electron Modules

This commit is contained in:
孟子易
2018-06-26 20:23:27 +08:00
parent 1d48e32c73
commit ec705ee301
2 changed files with 16 additions and 1 deletions

View File

@@ -17,7 +17,7 @@
"main": "main.js",
"private": true,
"scripts": {
"postinstall": "npx electron-builder install-app-deps",
"postinstall": "npx electron-builder install-app-deps && node postinstall",
"ng": "ng",
"start": "npm-run-all -p ng:serve electron:serve",
"build": "npm run electron:tsc && ng build",