feat: Added macos and windows electron builds

This commit is contained in:
Aleksi Lassila
2023-08-24 17:59:18 +03:00
parent 6ec440986e
commit 17e1aa0da3
5 changed files with 2063 additions and 7 deletions

View File

@@ -5,11 +5,13 @@
"type": "git",
"url": "https://github.com/aleksilassila/reiverr"
},
"main": "src/electron.cjs",
"scripts": {
"dev": "vite dev --host",
"build": "vite build",
"preview": "vite preview",
"deploy": "PORT=9494 NODE_ENV=production node build/",
"deploy:electron": "vite build && electron-builder -mw --x64 --config build.config.json; electron-builder -m --arm64 --config build.config.json",
"test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
@@ -31,6 +33,8 @@
"@typescript-eslint/parser": "^5.45.0",
"autoprefixer": "^10.4.14",
"classnames": "^2.3.2",
"electron": "^26.1.0",
"electron-builder": "^24.6.3",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.26.0",