- package.json / package-lock.json 版本号 0.1.1 → 0.1.2 - 界面底部版本号与 README 同步,补充 0.1.2 变更说明
96 lines
2.5 KiB
JSON
96 lines
2.5 KiB
JSON
{
|
|
"name": "qingying-ai-cut",
|
|
"version": "0.1.2",
|
|
"description": "轻映 AI · 本地优先的 Windows 智能视频剪辑工作台",
|
|
"author": "xhgit",
|
|
"private": true,
|
|
"main": "desktop/main.cjs",
|
|
"scripts": {
|
|
"dev": "vite --host 127.0.0.1",
|
|
"start": "npm run build && electron .",
|
|
"build": "tsc --noEmit && vite build",
|
|
"test": "node --test tests/*.test.mjs",
|
|
"dist": "npm run build && electron-builder --win nsis --x64",
|
|
"pack": "npm run build && electron-builder --dir --win --x64",
|
|
"test:desktop": "node scripts/desktop-e2e.mjs",
|
|
"test:batch": "node scripts/batch-e2e.mjs",
|
|
"test:ai": "node scripts/ai-e2e.mjs"
|
|
},
|
|
"dependencies": {
|
|
"ffmpeg-static": "^5.3.0",
|
|
"ffprobe-static": "^3.1.0",
|
|
"lucide-react": "^0.468.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"sql.js": "^1.13.0",
|
|
"undici": "^8.12.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.4.0",
|
|
"electron": "^42.0.0",
|
|
"electron-builder": "^26.0.0",
|
|
"playwright-core": "^1.64.1",
|
|
"typescript": "^5.8.0",
|
|
"vite": "^6.3.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.qingying.aicut",
|
|
"productName": "轻映 AI",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"desktop/**/*",
|
|
"package.json",
|
|
"resources/**/*"
|
|
],
|
|
"asarUnpack": [
|
|
"node_modules/ffmpeg-static/**/*",
|
|
"node_modules/ffprobe-static/**/*",
|
|
"node_modules/sql.js/dist/sql-wasm.wasm"
|
|
],
|
|
"win": {
|
|
"target": "nsis",
|
|
"signAndEditExecutable": true,
|
|
"icon": "resources/icon.ico",
|
|
"signExecutable": false
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"artifactName": "Qingying-AI-Setup-${version}.${ext}"
|
|
},
|
|
"extraResources": [
|
|
{
|
|
"from": "docs/THIRD_PARTY_NOTICES.md",
|
|
"to": "THIRD_PARTY_NOTICES.md"
|
|
},
|
|
{
|
|
"from": "node_modules/ffmpeg-static/ffmpeg.exe.LICENSE",
|
|
"to": "licenses/FFmpeg-GPL.txt"
|
|
},
|
|
{
|
|
"from": "node_modules/ffmpeg-static/ffmpeg.exe.README",
|
|
"to": "licenses/FFmpeg-build.txt"
|
|
}
|
|
],
|
|
"fileAssociations": [
|
|
{
|
|
"ext": "qycut",
|
|
"name": "轻映 AI 项目",
|
|
"role": "Editor",
|
|
"icon": "resources/icon.ico"
|
|
}
|
|
]
|
|
},
|
|
"license": "GPL-3.0-only",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.xhmcl.com/xhgit/AI-cut.git"
|
|
}
|
|
}
|