Files
tk-electron-ai/package.json
2025-12-01 20:04:52 +08:00

97 lines
2.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "YOLO-ios-ai",
"productName": "YOLOAI助手ios",
"version": "3.2.0",
"description": "Vue3 + WS 控制台",
"author": "yourname",
"main": "main.js",
"scripts": {
"serve": "chcp 65001 && npx electron . --js-flags=--expose-gc",
"pack": "electron-builder",
"build:vue": "cd vue-app && npm install && npm run build",
"start": "npm run build:vue && npx electron . --js-flags=--expose-gc",
"build:ci": "electron-builder --publish always"
},
"devDependencies": {
"electron": "27.1.3",
"electron-builder": "^26.0.12"
},
"build": {
"appId": "com.yolozs.iosai",
"productName": "YOLOAI助手ios",
"icon": "icon.ico",
"directories": {
"output": "dist_electron"
},
"extraResources": [
{
"from": "iOSAI",
"to": "iOSAI"
},
{
"from": "resources",
"to": "updater",
"filter": [
"**/*"
]
}
],
"extraFiles": [
{
"from": "./ADB",
"to": ".",
"filter": [
"**/*"
]
},
{
"from": "waiting.html",
"to": "resources/app",
"filter": [
"waiting.html"
]
}
],
"asar": false,
"files": [
"main.js",
"js/*",
"vue-app/dist/**/*",
"ws-scrcpy/**/*"
],
"publish": [
{
"provider": "generic",
"url": "https://s3.tknb.net/iosAiUpdate/",
"useMultipleRangeRequest": false
},
{
"provider": "s3",
"bucket": "ai-update",
"endpoint": "https://b632a61caa85401f63c9b32eef3a74c8.r2.cloudflarestorage.com",
"region": "auto",
"acl": "public-read",
"path": "iosAiUpdate"
}
],
"win": {
"target": "nsis",
"requestedExecutionLevel": "requireAdministrator"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": true,
"differentialPackage": true,
"allowElevation": true
}
},
"dependencies": {
"amqplib": "^0.10.9",
"axios": "^1.11.0",
"cors": "^2.8.5",
"electron-log": "^5.4.1",
"electron-updater": "^6.6.2",
"express": "^5.1.0"
}
}