douyinWEB/desktop/package.json
eric 1112a4d055 Handle YouTube Video Uploads daily quota (429) with project budget and pause-until-reset.
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>
2026-08-11 02:04:44 -05:00

81 lines
2.1 KiB
JSON
Raw 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": "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
}
}
}