68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"name": "lyroc-electron",
|
|
"version": "0.7.1",
|
|
"description": "lyroc - Apple Music 歌词显示",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"build": "electron-builder",
|
|
"postinstall": "electron-builder install-app-deps"
|
|
},
|
|
"author": "fzt_tom",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"electron": "^29.0.0",
|
|
"electron-builder": "^24.9.1"
|
|
},
|
|
"dependencies": {
|
|
"electron-is-dev": "^2.0.0",
|
|
"find-process": "^1.4.7",
|
|
"get-port": "^5.1.1",
|
|
"i18next": "^23.10.0",
|
|
"i18next-browser-languagedetector": "^7.2.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.lyroc.app",
|
|
"productName": "lyroc",
|
|
"mac": {
|
|
"category": "public.app-category.music",
|
|
"target": "dmg",
|
|
"icon": "build/icon.icns",
|
|
"darkModeSupport": true,
|
|
"extraResources": [
|
|
{
|
|
"from": "../backend",
|
|
"to": "backend",
|
|
"filter": [
|
|
"**/*",
|
|
"!**/__pycache__",
|
|
"!**/.pytest_cache",
|
|
"!**/.venv"
|
|
]
|
|
},
|
|
{
|
|
"from": "../frontend/dist",
|
|
"to": "app"
|
|
}
|
|
]
|
|
},
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 130,
|
|
"y": 220
|
|
},
|
|
{
|
|
"x": 410,
|
|
"y": 220,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"extraMetadata": {
|
|
"main": "main.js"
|
|
}
|
|
}
|
|
}
|