首次提交
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"name": "fengai",
|
||||
"version": "1.0.0",
|
||||
"description": "FengAI - a simple OpenAI-compatible LLM chat desktop app",
|
||||
"main": "src/main/main.js",
|
||||
"author": "FengAI",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "electron .",
|
||||
"dev": "electron . --dev",
|
||||
"icon": "node scripts/make-icon.js",
|
||||
"pack": "electron-builder --dir",
|
||||
"build": "electron-builder --win"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^31.7.0",
|
||||
"electron-builder": "^24.13.3"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.fengai.chat",
|
||||
"productName": "FengAI",
|
||||
"directories": {
|
||||
"output": "dist",
|
||||
"buildResources": "build"
|
||||
},
|
||||
"files": [
|
||||
"src/**/*",
|
||||
"package.json",
|
||||
"!**/*.map"
|
||||
],
|
||||
"win": {
|
||||
"icon": "build/icon.ico",
|
||||
"target": [
|
||||
{
|
||||
"target": "nsis",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
],
|
||||
"artifactName": "FengAI-Setup-${version}.${ext}"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"perMachine": false,
|
||||
"allowToChangeInstallationDirectory": true,
|
||||
"createDesktopShortcut": true,
|
||||
"createStartMenuShortcut": true,
|
||||
"shortcutName": "FengAI"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"dompurify": "^3.4.12",
|
||||
"marked": "^18.0.6"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user