-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.44 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.44 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "weather-map",
"version": "2.0.0",
"type": "commonjs",
"author": {
"name": "kGabriel",
"email": "kgabrieldev@gmail.com",
"url": "https://www.kgabriel.dev"
},
"description": "WeatherMap",
"repository": "https://github.com/kgabriel-dev/WeatherMap",
"main": "index.js",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"translate": "ng extract-i18n --output-path src/locale --format xlf",
"typescript": "tsc --project tsconfig.json && cp -rf dist/electron/* dist/ && rm -rf dist/electron",
"typescript-win": "tsc --project tsconfig.json && xcopy /e dist\\electron dist && rimraf dist/electron",
"build-electron": "ng build --localize --base-href ./.. && cp -rf src/electron/* dist/ && npm run typescript",
"build-electron-win": "ng build --localize --base-href ./.. && xcopy /e src\\electron dist && npm run typescript-win",
"electron": "rm -rf ./dist && npm run build-electron && ./node_modules/.bin/electron dist/",
"electron-win": "rimraf ./dist && npm run build-electron-win && .\\node_modules\\.bin\\electron dist",
"dist": "rm -rf out && electron-builder",
"dist-win": "rimraf out && electron-builder"
},
"private": true,
"dependencies": {
"@angular/animations": "^18.2.0",
"@angular/common": "^18.2.0",
"@angular/compiler": "^18.2.0",
"@angular/core": "^18.2.8",
"@angular/forms": "^18.2.0",
"@angular/platform-browser": "^18.2.0",
"@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0",
"@napi-rs/canvas": "^0.1.56",
"@primeng/themes": "^18.0.2",
"@vvo/tzdb": "^6.147.0",
"electron-updater": "^6.3.9",
"flag-icons": "^7.2.3",
"leaflet": "^1.9.4",
"primeflex": "^4.0.0",
"primeicons": "^7.0.0",
"primeng": "^18.0.2",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.2.4",
"@angular/cli": "^18.2.4",
"@angular/compiler-cli": "^18.2.0",
"@angular/localize": "^18.2.9",
"@types/electron": "^1.4.38",
"@types/jest": "^29.5.14",
"@types/leaflet": "^1.9.12",
"@types/node": "^22.7.5",
"electron": "^32.2.2",
"electron-builder": "^25.1.8",
"jasmine-core": "~5.2.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"ts-node": "^10.9.2",
"typescript": "~5.5.2"
},
"volta": {
"node": "20.18.0"
},
"build": {
"appId": "kgabriel.weathermap",
"productName": "WeatherMap",
"asar": true,
"directories": {
"output": "out"
},
"files": [
"dist/**/*"
],
"extraMetadata": {
"main": "dist/index.js"
},
"dmg": {
"title": "WeatherMap ${version}"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Utility",
"icon": "app.png"
},
"win": {
"target": [
"nsis"
],
"icon": "app.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"uninstallDisplayName": "WeatherMap Uninstaller",
"uninstallerIcon": "app.ico",
"installerIcon": "app.ico"
}
}
}