mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 09:33:10 -07:00
183 lines
4.5 KiB
JSON
183 lines
4.5 KiB
JSON
{
|
|
"name": "gerbil",
|
|
"productName": "Gerbil",
|
|
"version": "1.2.4",
|
|
"description": "Run Large Language Models locally",
|
|
"main": "out/main/index.js",
|
|
"homepage": "./",
|
|
"engines": {
|
|
"node": ">=22.0.0",
|
|
"yarn": "^4.0.0"
|
|
},
|
|
"packageManager": "yarn@4.9.4",
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"build": "electron-vite build",
|
|
"package": "electron-vite build && electron-builder",
|
|
"analyze": "cross-env ANALYZE=true electron-vite build && yarn dlx open-cli dist/stats.html",
|
|
"format": "prettier --write . --ignore-path .gitignore",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"compile": "tsc --noEmit",
|
|
"check-all": "yarn lint && yarn compile",
|
|
"release": "yarn dlx tsx scripts/release.ts"
|
|
},
|
|
"keywords": [
|
|
"llm",
|
|
"ai",
|
|
"local-ai",
|
|
"language-model",
|
|
"koboldcpp",
|
|
"electron",
|
|
"privacy",
|
|
"offline"
|
|
],
|
|
"author": {
|
|
"name": "lone-cloud",
|
|
"email": "hoboman313@proton.me"
|
|
},
|
|
"license": "AGPL-3.0-or-later",
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.35.0",
|
|
"@types/node": "^24.3.3",
|
|
"@types/react": "^19.1.13",
|
|
"@types/react-dom": "^19.1.9",
|
|
"@typescript-eslint/eslint-plugin": "^8.43.0",
|
|
"@typescript-eslint/parser": "^8.43.0",
|
|
"@vitejs/plugin-react": "^5.0.2",
|
|
"cross-env": "^10.0.0",
|
|
"electron": "^38.1.0",
|
|
"electron-builder": "^26.0.12",
|
|
"electron-vite": "^4.0.0",
|
|
"eslint": "^9.35.0",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-no-comments": "^1.1.10",
|
|
"eslint-plugin-promise": "^7.2.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
"globals": "^16.4.0",
|
|
"jiti": "^2.5.1",
|
|
"prettier": "^3.6.2",
|
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
"typescript": "^5.9.2",
|
|
"vite": "^7.1.5"
|
|
},
|
|
"dependencies": {
|
|
"@mantine/core": "^8.3.1",
|
|
"@mantine/hooks": "^8.3.1",
|
|
"@types/yauzl": "^2.10.3",
|
|
"axios": "^1.12.1",
|
|
"execa": "^9.6.0",
|
|
"lucide-react": "^0.544.0",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-error-boundary": "^6.0.0",
|
|
"systeminformation": "^5.27.9",
|
|
"winston": "^3.17.0",
|
|
"winston-daily-rotate-file": "^5.0.0",
|
|
"yauzl": "^3.2.0",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"build": {
|
|
"appId": "com.gerbil.app",
|
|
"productName": "Gerbil",
|
|
"compression": "normal",
|
|
"publish": null,
|
|
"electronLanguages": [
|
|
"en-US"
|
|
],
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"out/**/*",
|
|
"dist/**/*"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"from": "assets/kcpp_sdui.embd",
|
|
"to": "assets/kcpp_sdui.embd"
|
|
}
|
|
],
|
|
"mac": {
|
|
"compression": "maximum",
|
|
"category": "public.app-category.productivity",
|
|
"icon": "assets/icon.icns",
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "assets/entitlements.mac.plist",
|
|
"entitlementsInherit": "assets/entitlements.mac.plist",
|
|
"extraFiles": [
|
|
{
|
|
"from": "assets/entitlements.mac.plist",
|
|
"to": "assets/entitlements.mac.plist"
|
|
}
|
|
],
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"arm64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"compression": "normal",
|
|
"icon": "assets/icon.ico",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
},
|
|
{
|
|
"target": "portable",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"artifactName": "${productName}-Setup-${version}.${ext}",
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Gerbil"
|
|
},
|
|
"portable": {
|
|
"artifactName": "${productName}-Portable-${version}.${ext}"
|
|
},
|
|
"linux": {
|
|
"compression": "store",
|
|
"category": "Utility",
|
|
"icon": "src/assets/icon.png",
|
|
"desktop": {
|
|
"entry": {
|
|
"Name": "Gerbil",
|
|
"Comment": "Run Large Language Models locally",
|
|
"Categories": "Utility;",
|
|
"StartupWMClass": "Gerbil"
|
|
}
|
|
},
|
|
"extraFiles": [
|
|
{
|
|
"from": "assets/gerbil.desktop",
|
|
"to": "assets/gerbil.desktop"
|
|
}
|
|
],
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|