generated from iboffa/angular-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "angular-template",
"version": "0.0.0",
"main": "electron/main.js",
"scripts": {
"start": "concurrently -k \"ng serve\" \"npm run electron:dev-start\"",
"build": "concurrently \"ng build --base-href=./\" \"npm run esbuild-electron\" ",
"electron:dev-start": "npm run esbuild-electron && wait-on http://localhost:4200 && cross-env NODE_ENV=dev electron ./dist/electron/main.js",
"esbuild-electron": "esbuild electron/main.ts electron/preload.ts --bundle --minify --outdir=dist/electron --platform=node --packages=external --tree-shaking=true --tsconfig=tsconfig.electron.json",
"electron": "npm run build && electron ./dist/electron/main.js",
"test": "jest --no-cache",
"dist": "npm run build && electron-builder --dir",
"pack": "npm run build && electron-builder --dir --win --x64",
"release": "npm run build && electron-builder"
},
"private": true,
"dependencies": {
"@angular/animations": "^17.0.4",
"@angular/common": "^17.0.4",
"@angular/core": "^17.0.4",
"@angular/forms": "^17.0.4",
"@angular/platform-browser": "^17.0.4",
"@angular/platform-browser-dynamic": "^17.0.4",
"@angular/router": "^17.0.4",
"cross-env": "^7.0.3",
"electron-store": "^8.1.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.0.3",
"@angular/cli": "~17.0.3",
"@angular/compiler": "^17.0.4",
"@angular/compiler-cli": "^17.0.4",
"@types/debug": "^4.1.7",
"@types/electron-builder": "^2.8.0",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.17",
"concurrently": "^7.6.0",
"electron": "^27.1.2",
"electron-builder": "^24.6.4",
"esbuild": "^0.19.7",
"jest": "^29.5.0",
"jest-preset-angular": "^13.1.4",
"typescript": "~5.2.2",
"wait-on": "^7.0.1"
},
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.ts"
],
"globalSetup": "jest-preset-angular/global-setup"
}
}