{
  "name": "streamflow-desktop",
  "productName": "StreamFlow",
  "version": "1.1.0",
  "description": "StreamFlow IPTV Desktop Application",
  "main": "src/main/main.js",
  "scripts": {
    "start": "electron .",
    "dev": "electron . --dev",
    "build": "electron-builder",
    "build:linux": "electron-builder --linux",
    "build:appimage": "electron-builder --linux AppImage",
    "pack": "electron-builder --dir",
    "postinstall": "electron-builder install-app-deps"
  },
  "keywords": [
    "iptv",
    "streaming",
    "tv",
    "electron"
  ],
  "author": "StreamFlow",
  "license": "MIT",
  "dependencies": {
    "axios": "^1.6.2",
    "electron-store": "^8.1.0",
    "i18next": "^23.7.6",
    "qrcode": "^1.5.3",
    "electron-log": "^5.0.1",
    "electron-updater": "^6.1.7",
    "chromecast-api": "^0.3.2"
  },
  "devDependencies": {
    "electron": "^28.0.0",
    "electron-builder": "^24.9.1"
  },
  "build": {
    "appId": "com.streamflow.desktop",
    "productName": "StreamFlow",
    "directories": {
      "output": "dist",
      "buildResources": "build"
    },
    "linux": {
      "target": [
        {
          "target": "AppImage",
          "arch": ["x64", "arm64"]
        }
      ],
      "category": "AudioVideo",
      "icon": "build/icon.png",
      "executableName": "streamflow",
      "desktop": {
        "Name": "StreamFlow",
        "Comment": "Stream IPTV content",
        "Categories": "AudioVideo;Player;TV;",
        "MimeType": "x-scheme-handler/streamflow;",
        "StartupWMClass": "StreamFlow"
      }
    },
    "appImage": {
      "license": "LICENSE",
      "artifactName": "${productName}-${version}-${arch}.${ext}"
    },
    "publish": {
      "provider": "generic",
      "url": "http://localhost:9000/"
    },
    "files": [
      "src/**/*",
      "resources/**/*",
      "build/icon.png",
      "package.json"
    ],
    "extraResources": [
      {
        "from": "resources/",
        "to": "resources/",
        "filter": ["**/*"]
      },
      {
        "from": "build/icon.png",
        "to": "build/icon.png"
      }
    ],
    "asarUnpack": [
      "resources/**/*"
    ]
  }
}
