Weitere Konfiguration

This commit is contained in:
Nils 2025-05-21 00:02:31 +02:00
parent cab8319cff
commit 4d72cccd80
4 changed files with 4136 additions and 8 deletions

BIN
desktopIcon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

15
electron-builder.json Normal file
View File

@ -0,0 +1,15 @@
{
"appId": "com.nwaschk.api-tool",
"files": ["dist-electron", "dist-react"],
"icon": "./desktopIcon.png",
"mac": {
"target": "dmg"
},
"linux": {
"target": "AppImage",
"category": "Utility"
},
"win": {
"target": ["portable", "msi"]
}
}

4119
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,19 +3,23 @@
"private": true,
"version": "0.0.0",
"type": "module",
"main": "dist-electron/main",
"main": "dist-electron/main.js",
"scripts": {
"dev:svelte": "vite",
"dev:electron" : "electron .",
"dev:electron": "electron .",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
"transpile:electron" : "tsc --project src/electron/tsconfig.json"
"transpile:electron": "tsc --project src/electron/tsconfig.json",
"dist:mac": "npm run transpile:electron && npm run build && electron-builder --mac --arm64",
"dist:win": "npm run transpile:electron && npm run build && electron-builder --win --x64",
"dist:linux": "npm run transpile:electron && npm run build && electron-builder --linux --x64"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tsconfig/svelte": "^5.0.4",
"electron": "^36.2.1",
"electron-builder": "^26.0.12",
"svelte": "^5.28.1",
"svelte-check": "^4.1.6",
"typescript": "~5.8.3",