electron
Showing
main.js
0 → 100644
This diff is collapsed.
... | ... | @@ -4,12 +4,41 @@ |
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve", | ||
"build": "ng build", | ||
"build:angular": "ng build", | ||
"watch": "ng build --watch --configuration development", | ||
"test": "ng test" | ||
"test": "ng test", | ||
"build:electron-pack": "electron-builder --dir", | ||
"build:electron-dist": "electron-builder", | ||
"postinstall": "electron-builder install-app-deps", | ||
"build": "npm run build:angular && npm run build:electron-dist" | ||
}, | ||
"description": "测试", | ||
"author": "zh99998 <zh99998@gmail.com>", | ||
"main": "main.js", | ||
"build": { | ||
"appId": "your.id", | ||
"mac": { | ||
"category": "your.app.category.type" | ||
}, | ||
"files": [ | ||
"package.json", | ||
"main.js", | ||
"dist/ci", | ||
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}", | ||
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}", | ||
"!**/node_modules/*.d.ts", | ||
"!**/node_modules/.bin", | ||
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}", | ||
"!.editorconfig", | ||
"!**/._*", | ||
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}", | ||
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}", | ||
"!**/{appveyor.yml,.travis.yml,circle.yml}", | ||
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}" | ||
] | ||
}, | ||
"private": true, | ||
"dependencies": { | ||
"devDependencies": { | ||
"@angular/animations": "~12.0.4", | ||
"@angular/common": "~12.0.4", | ||
"@angular/compiler": "~12.0.4", | ||
... | ... | @@ -18,16 +47,16 @@ |
"@angular/platform-browser": "~12.0.4", | ||
"@angular/platform-browser-dynamic": "~12.0.4", | ||
"@angular/router": "~12.0.4", | ||
"electron": "^13.1.2", | ||
"rxjs": "~6.6.0", | ||
"tslib": "^2.1.0", | ||
"zone.js": "~0.11.4" | ||
}, | ||
"devDependencies": { | ||
"zone.js": "~0.11.4", | ||
"@angular-devkit/build-angular": "~12.0.4", | ||
"@angular/cli": "~12.0.4", | ||
"@angular/compiler-cli": "~12.0.4", | ||
"@types/jasmine": "~3.6.0", | ||
"@types/node": "^12.11.1", | ||
"electron-builder": "^22.11.7", | ||
"jasmine-core": "~3.7.0", | ||
"karma": "~6.3.0", | ||
"karma-chrome-launcher": "~3.1.0", | ||
... | ... |
Please register or sign in to comment