1. 新增来推内置自营生图包 2. 新增 工具箱 菜单,添加 图片压缩 和 LaiTool图床(用作MJ垫图) 3. 新增一个新的推理模式 4. 修复剪映关键缩放大小计算错误 5. MJ生图包适配修改
105 lines
3.2 KiB
JSON
105 lines
3.2 KiB
JSON
{
|
|
"name": "laitool",
|
|
"version": "3.4.0",
|
|
"description": "An AI tool for image processing, video processing, and other functions.",
|
|
"main": "./out/main/index.js",
|
|
"author": "laitool.cn",
|
|
"homepage": "https://electron-vite.org",
|
|
"scripts": {
|
|
"format": "prettier --write .",
|
|
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
|
"start": "electron-vite preview",
|
|
"dev": "cross-env chcp 65001 && cross-env NODE_ENV=development electron-vite dev --watch",
|
|
"build": "electron-vite build",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"build:win": "npm run build && electron-builder --win --config",
|
|
"build:mac": "npm run build && electron-builder --mac --config",
|
|
"build:linux": "npm run build && electron-builder --linux --config"
|
|
},
|
|
"dependencies": {
|
|
"@alicloud/alimt20181012": "^1.2.0",
|
|
"@alicloud/openapi-client": "^0.4.12",
|
|
"@alicloud/tea-util": "^1.4.9",
|
|
"@electron-toolkit/preload": "^3.0.0",
|
|
"@electron-toolkit/utils": "^3.0.0",
|
|
"@vicons/ionicons5": "^0.12.0",
|
|
"@volcengine/openapi": "^1.16.0",
|
|
"artplayer": "^5.1.6",
|
|
"awesome-js": "^2.0.0",
|
|
"axios": "^1.6.5",
|
|
"compressing": "^1.10.0",
|
|
"crypto-js": "^4.2.0",
|
|
"fluent-ffmpeg": "^2.1.3",
|
|
"form-data": "^4.0.1",
|
|
"highlight.js": "^11.9.0",
|
|
"https-proxy-agent": "^7.0.5",
|
|
"jsdom": "^24.0.0",
|
|
"lodash": "^4.17.21",
|
|
"moment-timezone": "^0.5.45",
|
|
"music-metadata": "^7.14.0",
|
|
"node-edge-tts": "^1.2.7",
|
|
"node-machine-id": "^1.1.12",
|
|
"npm": "^10.7.0",
|
|
"pinia": "^2.1.7",
|
|
"realm": "^12.9.0",
|
|
"sharp": "^0.33.2",
|
|
"systeminformation": "^5.22.10",
|
|
"tencentcloud-sdk-nodejs": "^4.0.821",
|
|
"unplugin-auto-import": "^19.1.2",
|
|
"unplugin-vue-components": "^28.4.1",
|
|
"uuid": "^9.0.1",
|
|
"vite-tsconfig-paths": "^5.0.1",
|
|
"vue-router": "^4.2.5",
|
|
"wav-file-info": "^0.0.10",
|
|
"winston": "^3.13.0",
|
|
"winston-daily-rotate-file": "^5.0.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-toolkit/eslint-config": "^1.0.1",
|
|
"@rushstack/eslint-patch": "^1.6.1",
|
|
"@types/fluent-ffmpeg": "^2.1.24",
|
|
"@types/ws": "^8.5.10",
|
|
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
"@vitejs/plugin-vue": "^5.0.2",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^28.1.1",
|
|
"electron-builder": "^24.13.3",
|
|
"electron-vite": "^2.0.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-vue": "^9.19.2",
|
|
"naive-ui": "^2.38.2",
|
|
"prettier": "^3.1.1",
|
|
"process": "^0.11.10",
|
|
"util": "^0.12.5",
|
|
"vite": "^5.0.11",
|
|
"vue": "^3.4.5"
|
|
},
|
|
"build": {
|
|
"asar": true,
|
|
"files": [
|
|
"out/**/*",
|
|
"!resources/"
|
|
],
|
|
"extraResources": [
|
|
"resources/package/exittool/**",
|
|
"resources/package/ffmpeg/**",
|
|
"resources/package/Improve/**",
|
|
"resources/image/style/**",
|
|
"resources/image/zhanwei.png",
|
|
"resources/scripts/model/**",
|
|
"resources/scripts/Lai.exe",
|
|
"resources/scripts/discordScript.js",
|
|
"resources/tmp/**",
|
|
"resources/icon.ico"
|
|
],
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "./resources/icon.ico"
|
|
}
|
|
}
|
|
} |