41 lines
989 B
JSON
41 lines
989 B
JSON
{
|
|
"name": "kokoro-widget",
|
|
"version": "1.0.0",
|
|
"description": "Standalone PAI Voice audio widget — receives WebSocket audio and plays through speakers",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "node node_modules/electron/cli.js --no-sandbox .",
|
|
"build": "electron-builder",
|
|
"build:linux": "electron-builder --linux",
|
|
"build:mac": "electron-builder --mac",
|
|
"build:win": "electron-builder --win"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^33.0.0",
|
|
"electron-builder": "^25.0.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.pai.kokoro-widget",
|
|
"productName": "Kokoro Widget",
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"linux": {
|
|
"target": ["AppImage", "deb"],
|
|
"category": "Utility"
|
|
},
|
|
"mac": {
|
|
"target": ["dmg", "zip"],
|
|
"category": "public.app-category.utilities"
|
|
},
|
|
"win": {
|
|
"target": ["nsis", "portable"]
|
|
},
|
|
"files": [
|
|
"main.js",
|
|
"preload.js",
|
|
"renderer/**"
|
|
]
|
|
}
|
|
}
|