Files
2026-03-24 17:35:28 -05:00

109 lines
2.6 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": "live-recorder-console",
"productName": "直播录制助手",
"version": "1.0.0",
"description": "直播录制助手Windows 懒人包)",
"main": "./out/main/index.js",
"type": "module",
"scripts": {
"prepare-easytier": "node scripts/download-easytier.mjs",
"prepare-chrome": "node scripts/download-chrome-for-testing.mjs",
"dev": "node scripts/download-easytier.mjs && node scripts/download-chrome-for-testing.mjs && electron-vite dev",
"build": "node scripts/download-easytier.mjs && node scripts/download-chrome-for-testing.mjs && electron-vite build",
"preview": "electron-vite preview",
"dist": "pnpm run build && electron-builder --win --publish never"
},
"dependencies": {
"d3": "^7.9.0",
"echarts": "^6.0.0",
"qrcode": "^1.5.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sql.js": "^1.14.1",
"three": "^0.183.2",
"adm-zip": "^0.5.16"
},
"devDependencies": {
"@types/d3": "^7.4.3",
"@types/node": "^22.10.0",
"@types/qrcode": "^1.5.6",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/three": "^0.183.1",
"@vitejs/plugin-react": "^4.3.4",
"electron": "^33.2.0",
"electron-builder": "^25.1.8",
"electron-vite": "^2.3.0",
"typescript": "~5.6.2",
"vite": "^5.4.11"
},
"pnpm": {
"onlyBuiltDependencies": [
"electron",
"electron-builder",
"esbuild"
]
},
"build": {
"appId": "com.douyin.recorder.console",
"productName": "直播录制控制台",
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"out/**/*",
"package.json"
],
"extraResources": [
{
"from": "resources/easytier",
"to": "easytier",
"filter": [
"**/*"
]
},
{
"from": "resources/chrome-cft",
"to": "chrome-cft",
"filter": [
"**/*"
]
},
{
"from": "..",
"to": "backend",
"filter": [
"**/*",
"!electron/**",
"!.git/**",
"!**/__pycache__/**",
"!**/.venv/**",
"!**/venv/**",
"!**/node_modules/**"
]
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"installerLanguages": [
"zh_CN",
"en_US"
],
"language": "2052"
}
},
"packageManager": "pnpm@10.25.0+sha1.2cfb3ab644446565c127f58165cc76368c9c920b"
}