Add shorts_yt_quota module, Shorts UI quota banner, overview tweaks (hide upcoming opens, align events panel height), Electron desktop client scaffold, and deploy scripts; update README. Co-authored-by: Cursor <cursoragent@cursor.com>
81 lines
2.1 KiB
JSON
81 lines
2.1 KiB
JSON
{
|
||
"name": "douyinweb-desktop",
|
||
"version": "0.1.0",
|
||
"private": true,
|
||
"description": "抖音直播监控 Windows 客户端(本地 FastAPI + PocketBase)",
|
||
"main": "dist-electron/main.js",
|
||
"author": "douyinWEB",
|
||
"scripts": {
|
||
"dev": "vite",
|
||
"build:renderer": "vite build",
|
||
"build:electron": "tsc -p tsconfig.electron.json",
|
||
"build": "npm run build:renderer && npm run build:electron",
|
||
"start": "npm run build:electron && electron .",
|
||
"electron:dev": "npm run build:electron && concurrently -k \"vite\" \"wait-on http://127.0.0.1:5173 && electron .\"",
|
||
"pack": "npm run build && electron-builder --win",
|
||
"dist": "npm run pack"
|
||
},
|
||
"dependencies": {
|
||
"echarts": "^5.5.1",
|
||
"electron-store": "^8.2.0",
|
||
"lucide-react": "^0.468.0",
|
||
"react": "^19.0.0",
|
||
"react-dom": "^19.0.0",
|
||
"react-router-dom": "^7.1.1"
|
||
},
|
||
"devDependencies": {
|
||
"@types/node": "^20",
|
||
"@types/react": "^19",
|
||
"@types/react-dom": "^19",
|
||
"@vitejs/plugin-react": "^4.3.4",
|
||
"autoprefixer": "^10.4.20",
|
||
"concurrently": "^9.1.0",
|
||
"electron": "^33.2.1",
|
||
"electron-builder": "^25.1.8",
|
||
"postcss": "^8.4.49",
|
||
"tailwindcss": "^3.4.17",
|
||
"typescript": "^5",
|
||
"vite": "^6.0.3",
|
||
"wait-on": "^8.0.1"
|
||
},
|
||
"build": {
|
||
"appId": "com.douyinweb.desktop",
|
||
"productName": "抖音直播监控",
|
||
"directories": {
|
||
"output": "release"
|
||
},
|
||
"files": [
|
||
"dist/**/*",
|
||
"dist-electron/**/*",
|
||
"package.json"
|
||
],
|
||
"extraResources": [
|
||
{
|
||
"from": "../backend",
|
||
"to": "runtime/backend",
|
||
"filter": ["**/*", "!**/__pycache__/**", "!**/.venv/**", "!**/venv/**"]
|
||
},
|
||
{
|
||
"from": "../pb",
|
||
"to": "runtime/pb",
|
||
"filter": ["**/*"]
|
||
},
|
||
{
|
||
"from": "../youtube-svc",
|
||
"to": "runtime/youtube-svc",
|
||
"filter": ["**/*", "!node_modules/**"]
|
||
}
|
||
],
|
||
"win": {
|
||
"target": [
|
||
{ "target": "nsis", "arch": ["x64"] },
|
||
{ "target": "portable", "arch": ["x64"] }
|
||
]
|
||
},
|
||
"nsis": {
|
||
"oneClick": false,
|
||
"allowToChangeInstallationDirectory": true
|
||
}
|
||
}
|
||
}
|