Initial commit: Sarthi Lab desktop application
This commit is contained in:
67
package.json
Normal file
67
package.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"name": "sarthi-lab",
|
||||
"version": "1.0.0",
|
||||
"description": "Sarthi Lab Desktop — AI learning for school computer labs",
|
||||
"type": "module",
|
||||
"main": "electron/main.js",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"vite\" \"wait-on http://localhost:5174 && electron .\"",
|
||||
"build": "vite build && electron-builder",
|
||||
"build:mac": "vite build && electron-builder --mac",
|
||||
"build:win": "vite build && electron-builder --win",
|
||||
"build:linux": "vite build && electron-builder --linux",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-store": "^8.2.0",
|
||||
"lucide-react": "^0.577.0",
|
||||
"mermaid": "^11.12.3",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-markdown": "^10.1.0",
|
||||
"zustand": "^4.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-react": "^4.3.1",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"concurrently": "^8.2.2",
|
||||
"electron": "^31.0.0",
|
||||
"electron-builder": "^24.13.3",
|
||||
"postcss": "^8.4.38",
|
||||
"tailwindcss": "^3.4.4",
|
||||
"vite": "^5.3.1",
|
||||
"wait-on": "^7.2.0"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.eduspheria.sarthi-lab",
|
||||
"productName": "Sarthi Lab",
|
||||
"directories": {
|
||||
"output": "dist-electron"
|
||||
},
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"electron/**/*"
|
||||
],
|
||||
"win": {
|
||||
"target": "nsis"
|
||||
},
|
||||
"mac": {
|
||||
"target": "dmg",
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "electron/piper",
|
||||
"to": "piper",
|
||||
"filter": ["!*.onnx", "!*.onnx.json"]
|
||||
},
|
||||
{
|
||||
"from": "electron/whisper",
|
||||
"to": "whisper",
|
||||
"filter": ["!ggml-*.bin"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"linux": {
|
||||
"target": "AppImage"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user