{
  "name": "freedom-loader",
  "productName": "Freedom Loader",
  "version": "1.5.1",
  "author": "MasterAcnolo",
  "description": "Freedom Loader",
  "main": "main.js",
  "scripts": {
    "start": "electron --trace-warnings .",
    "build": "electron-builder",
    "update": "npm update"
  },
  "dependencies": {
    "chalk": "^4.1.2",
    "debug": "^4.4.1",
    "discord-rpc": "^4.0.1",
    "electron-updater": "^6.6.2",
    "express": "^5.1.0",
    "express-rate-limit": "^8.2.1",
    "jszip": "^3.10.1",
    "webidl-conversions": "^8.0.0",
    "winston": "^3.17.0",
    "winston-daily-rotate-file": "^5.0.0"
  },
  "devDependencies": {
    "electron": "^41.2.0",
    "electron-builder": "^26.8.1",
    "@electron/devtron": "^2.1.1"

  },
  "build": {
    "appId": "com.masteracnolo.freedomloader",
    "productName": "Freedom Loader",
    "publish": [
      {
        "provider": "github",
        "owner": "MasterAcnolo",
        "repo": "Freedom-Loader"
      }
    ],
    "files": [
      "**/*",
      "node_modules/**/*",
      "!config/config.dev.json",
      "!theme/**/*"
    ],
    "directories": {
      "buildResources": "build"
    },
    "asar": true,
    "extraResources": [
      {
        "from": "theme",
        "to": "theme"
      },
      {
        "from": "build/confirm-icon.png",
        "to": "confirm-icon.png"
      },
      {
        "from": "build/app-icon.ico",
        "to": "app-icon.ico"
      },
      {
        "from": "build/banner.bmp",
        "to": "banner.bmp"
      },
      {
        "from": "build/banner.png",
        "to": "banner.png"
      },
      {
        "from": "build/error.png",
        "to": "error.png"
      },
      {
        "from": "ressources/yt-dlp.exe",
        "to": "binaries/yt-dlp.exe"
      },
      {
        "from": "ressources/ffmpeg.exe",
        "to": "binaries/ffmpeg.exe"
      },
      {
        "from": "ressources/ffprobe.exe",
        "to": "binaries/ffprobe.exe"
      },
      {
        "from": "ressources/deno.exe",
        "to": "binaries/deno.exe"
      },
      {
        "from": "config/config.default.json",
        "to": "config/config.default.json"
      }
    ],
    "win": {
      "target": "nsis",
      "icon": "build/app-icon.ico"
    },
    "nsis": {
      "oneClick": false,
      "perMachine": true,
      "allowToChangeInstallationDirectory": true,
      "installerIcon": "build/app-icon.ico",
      "uninstallerIcon": "build/uninstaller-icon.ico",
      "installerSidebar": "build/banner.bmp",
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "Freedom Loader"
    }
  }
}
