Files
VoiceStudio/electron/package.json
T
debpalash 7772292066 fix(electron): launch start and preview through the Electron resolver
electron-vite preview reads node_modules/electron/path.txt itself and throws
'Electron uninstall' before the lazily downloaded binary exists. start and
preview now run the same launcher as dev, which resolves the binary first,
and the launcher drops an inherited ELECTRON_RUN_AS_NODE.
2026-10-27 01:11:07 +05:30

120 lines
4.7 KiB
JSON

{
"name": "voicestudio-electron",
"version": "0.0.0-electron",
"private": true,
"description": "VoiceStudio desktop shell (Electron) - local voice cloning, no cloud.",
"homepage": "https://github.com/debpalash/VoiceStudio",
"license": "AGPL-3.0-only",
"author": {
"name": "VoiceStudio contributors",
"email": "hi@voicestudio.sh"
},
"type": "module",
"main": "./out/main/index.js",
"scripts": {
"dev": "node scripts/dev.mjs",
"dev:software-compositing": "node scripts/dev.mjs -- --disable-gpu-compositing",
"locale:check": "node tests/locale-encoding.mjs && node tests/locale-source-keys.mjs && node tests/locale-coverage.mjs",
"build": "bun run locale:check && electron-vite build",
"build:web": "bun run locale:check && vite build --config vite.web.config.ts",
"dev:web": "vite --config vite.web.config.ts",
"preview": "node scripts/dev.mjs preview",
"start": "node scripts/dev.mjs preview",
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
"lint": "vp lint",
"lint:fix": "vp lint --fix",
"format": "vp fmt",
"format:check": "vp fmt --check",
"test": "bun run locale:check && vp test --run && vp test --run --config vite.shared.config.ts",
"test:watch": "vp test",
"test:desktop-ui": "node tests/local-first.test.mjs && node tests/fake-health-backend.test.mjs && node tests/desktop-harness-ports.test.mjs && node tests/desktop-ui.test.mjs",
"smoke:server": "vite --config tests/renderer-smoke.vite.config.mjs",
"smoke:live-routes": "node tests/live-route-health.mjs",
"smoke:account-live": "node tests/account-sign-in-live.mjs",
"check": "vp check",
"dist": "bun run build:web && electron-vite build && node tests/packaging-contract.mjs && electron-builder --config electron-builder.config.mjs && node --input-type=module -e \"if (process.platform === 'linux') await import('./scripts/embed-appimage-update.mjs')\" && node tests/update-package-contract.mjs",
"dist:dir": "bun run build:web && electron-vite build && node tests/packaging-contract.mjs && electron-builder --config electron-builder.config.mjs --dir",
"ui:add": "shadcn add"
},
"dependencies": {
"@base-ui/react": "^1.8.0",
"@electron-toolkit/utils": "^4.0.0",
"@fontsource-variable/inter": "^5.3.0",
"@fontsource-variable/source-serif-4": "^5.3.0",
"@fontsource/ibm-plex-mono": "^5.3.0",
"@lobehub/icons-static-svg": "^1.95.0",
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-dropdown-menu": "^2.1.24",
"@radix-ui/react-progress": "^1.1.16",
"@radix-ui/react-select": "^2.3.7",
"@radix-ui/react-slider": "^1.4.7",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-tabs": "^1.1.21",
"@radix-ui/react-toggle": "^1.1.18",
"@radix-ui/react-toggle-group": "^1.1.19",
"@radix-ui/react-tooltip": "^1.2.16",
"@scalar/api-reference-react": "^0.9.67",
"@tanstack/react-form": "^1.33.5",
"@tanstack/react-pacer": "^0.23.0",
"@tanstack/react-query": "^5.102.8",
"@tanstack/react-table": "^8.21.3",
"@tanstack/react-router": "^1.170.36",
"@tanstack/react-store": "^0.11.1",
"@tanstack/react-virtual": "^3.14.13",
"@tanstack/store": "^0.11.1",
"@vidstack/react": "1.15.6",
"@xyflow/react": "^12.12.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cn": "^0.3.0",
"country-flag-icons": "^1.6.20",
"dashjs": "^5.2.1",
"electron-updater": "^6.8.9",
"hls.js": "^1.7.3",
"html-entities": "^2.6.0",
"i18next": "^26.4.2",
"i18next-browser-languagedetector": "^8.2.1",
"lucide-react": "^1.46.0",
"posthog-js": "^1.434.14",
"proxy-agent": "6.5.0",
"qrcode": "^1.5.4",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-hot-toast": "^2.6.0",
"react-i18next": "^17.0.14",
"react-window": "^2.3.1",
"shadcn": "^4.21.0",
"sonner": "^2.0.8",
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0",
"wavesurfer.js": "^7.12.12",
"word-extractor": "1.0.4",
"zustand": "^5.0.15"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.3",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@types/node": "^24.13.4",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.1",
"builder-util": "26.15.3",
"electron": "^44.3.0",
"electron-builder": "^26.15.3",
"electron-vite": "6.0.0-beta.1",
"jsdom": "^30.0.1",
"tailwindcss": "^4.3.3",
"typescript": "^7.0.2",
"vite": "^8.3.0",
"vite-plus": "^0.3.1",
"vitest": "4.1.11"
},
"trustedDependencies": [
"electron",
"esbuild",
"electron-builder",
"app-builder-bin"
]
}