mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 04:21:32 +00:00
- Removed package manager and engines from package.json. - Updated pnpm-lock.yaml to reflect new versions of dependencies. - Modified pnpm-workspace.yaml to include only built dependencies for Electron. - Adjusted electron-builder.yaml to exclude unnecessary files and added output directory. - Deleted obsolete electron.vite.config.ts file. - Updated main entry point in examples/electron/package.json to use CommonJS format. - Refactored scripts in examples/electron/package.json for better development experience. - Enhanced error handling and logging in game logic within examples/electron/src/routes/sverdle/+page.server.ts. - Updated adapter-electron to support new protocol handling and build processes.
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "sveltekit-electron",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "A SvelteKit and Electron app",
|
|
"author": {
|
|
"name": "Luke Hagar",
|
|
"email": "lukeslakemail@gmail.com"
|
|
},
|
|
"homepage": "https://github.com/lukehagar/sveltekit-adapters",
|
|
"main": "./out/main/index.cjs",
|
|
"scripts": {
|
|
"start": "vite preview",
|
|
"dev": "svelte-kit sync && concurrently \"vite dev\" \"electron .\" --names \"sveltekit,electron\" --prefix-colors \"#ff3e00,blue\"",
|
|
"build": "vite build",
|
|
"build:all": "npm run build && electron-builder -mwl --config",
|
|
"build:win": "npm run build && electron-builder --win --config",
|
|
"build:mac": "npm run build && electron-builder --mac --config",
|
|
"build:linux": "npm run build && electron-builder --linux --config"
|
|
},
|
|
"devDependencies": {
|
|
"@fontsource/fira-mono": "^5.2.6",
|
|
"@neoconfetti/svelte": "^2.2.2",
|
|
"@sveltejs/kit": "^2.22.2",
|
|
"@sveltejs/vite-plugin-svelte": "^5.1.0",
|
|
"@types/eslint": "9.6.1",
|
|
"@types/node": "^24.0.11",
|
|
"@typescript-eslint/eslint-plugin": "^8.35.1",
|
|
"@typescript-eslint/parser": "^8.35.1",
|
|
"adapter-electron": "workspace:*",
|
|
"concurrently": "^9.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^17.0.1",
|
|
"electron": "^37.2.0",
|
|
"electron-builder": "^26.0.12",
|
|
"electron-is-dev": "^3.0.1",
|
|
"electron-log": "^5.4.1",
|
|
"electron-util": "^0.18.1",
|
|
"esbuild": "^0.25.0",
|
|
"eslint": "^9.30.1",
|
|
"eslint-config-prettier": "^10.1.5",
|
|
"eslint-plugin-svelte": "^3.10.1",
|
|
"polka": "^0.5.2",
|
|
"prettier": "^3.6.2",
|
|
"prettier-plugin-svelte": "^3.4.0",
|
|
"svelte": "^5.35.1",
|
|
"svelte-check": "^4.2.2",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"type": "module"
|
|
}
|