加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.79 KB
一键复制 编辑 原始数据 按行查看 历史
lantianyu 提交于 2024-08-20 00:06 . 实现扫码登陆
{
"name": "chat_desktop",
"private": true,
"version": "1.0.0",
"main": "dist-electron/index.js",
"build": {
"appId": "love.fan.wifi",
"directories": {
"output": "./app_dist"
},
"productName": "歪fChat",
"files": [
"dist/**/*",
"dist-electron/**/*",
"icons/**/*",
"scripts/**/*"
],
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"installerIcon": "./icons/icon.png",
"uninstallerIcon": "./icons/icon.png",
"installerHeaderIcon": "./icons/icon.png"
},
"dmg": {
"background": "./icons/background.png",
"icon": "./icons/icon.png",
"iconSize": 100,
"contents": [
{
"x": 380,
"y": 180,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 180,
"type": "file"
}
],
"window": {
"x": 500,
"y": 500,
"width": 500,
"height": 320
}
},
"mac": {
"target": [
"dmg",
"zip"
],
"entitlements": "scripts/entitlements.mac.plist",
"hardenedRuntime": true,
"extendInfo": {
"NSMicrophoneUsageDescription": "请允许访问您的麦克风",
"NSCameraUsageDescription": "请允许访问您的摄像头"
}
},
"win": {
"icon": "./icons/icon.png",
"target": {
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
},
"afterPack": "scripts/afterPack.js"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"electron:build": "electron-builder",
"electron:build:win": "electron-builder --win",
"electron:build:mac": "electron-builder --mac"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@vueuse/core": "^10.6.1",
"axios": "^1.4.0",
"dotenv": "^16.4.5",
"element-plus": "^2.3.8",
"fs-extra": "^11.2.0",
"md-editor-v3": "^4.8.1",
"mitt": "^3.0.1",
"pinia": "^2.1.4",
"query-string": "^8.1.0",
"socket.io-client": "^4.7.2",
"spark-md5": "^3.0.2",
"uuid": "^10.0.0",
"vue": "^3.3.4",
"vue-router": "^4.2.4",
"vue3-video-play": "^1.3.1-beta.6"
},
"devDependencies": {
"@types/node": "^20.4.2",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-vue": "^4.2.3",
"electron": "^25.3.0",
"electron-devtools-installer": "^3.2.0",
"i": "^0.3.7",
"npm": "^10.8.2",
"sass": "^1.63.6",
"typescript": "^5.0.2",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.1",
"vite": "^4.4.0",
"vite-plugin-electron": "^0.12.0",
"vite-plugin-electron-renderer": "^0.14.5",
"vue-tsc": "^1.8.3"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化