{
  "name": "youtube-music",
  "productName": "YouTube Music",
  "version": "3.6.2",
  "description": "YouTube Music Desktop App - including custom plugins",
  "main": "./dist/main/index.js",
  "license": "MIT",
  "repository": "th-ch/youtube-music",
  "author": {
    "name": "th-ch",
    "email": "th-ch@users.noreply.github.com",
    "url": "https://github.com/th-ch/youtube-music"
  },
  "build": {
    "appId": "com.github.th-ch.youtube-music",
    "productName": "YouTube Music",
    "files": [
      "!*",
      "dist",
      "assets",
      "license",
      "!node_modules",
      "node_modules/custom-electron-prompt/**",
      "node_modules/@cliqz/adblocker-electron-preload/**",
      "node_modules/@ffmpeg.wasm/core-mt/**",
      "!node_modules/**/*.map",
      "!node_modules/**/*.ts"
    ],
    "asarUnpack": [
      "assets"
    ],
    "mac": {
      "identity": null,
      "target": [
        {
          "target": "dmg",
          "arch": [
            "x64",
            "arm64"
          ]
        }
      ],
      "icon": "assets/generated/icons/mac/icon.icns",
      "compression": "maximum"
    },
    "win": {
      "icon": "assets/generated/icons/win/icon.ico",
      "target": [
        {
          "target": "nsis-web",
          "arch": [
            "x64",
            "ia32",
            "arm64"
          ]
        },
        {
          "target": "portable",
          "arch": [
            "x64",
            "ia32",
            "arm64"
          ]
        }
      ],
      "compression": "maximum"
    },
    "nsisWeb": {
      "runAfterFinish": false
    },
    "linux": {
      "icon": "assets/generated/icons/png",
      "category": "AudioVideo",
      "target": [
        {
          "target": "AppImage",
          "arch": [
            "x64",
            "arm64",
            "armv7l"
          ]
        },
        {
          "target": "flatpak",
          "arch": [
            "x64"
          ]
        },
        {
          "target": "deb",
          "arch": [
            "x64",
            "arm64",
            "armv7l"
          ]
        },
        {
          "target": "rpm",
          "arch": [
            "x64",
            "arm64"
          ]
        },
        {
          "target": "snap",
          "arch": [
            "x64"
          ]
        },
        {
          "target": "freebsd",
          "arch": [
            "x64",
            "arm64",
            "armv7l"
          ]
        },
        {
          "target": "tar.gz",
          "arch": [
            "x64",
            "arm64",
            "armv7l"
          ]
        }
      ]
    },
    "appImage": {
      "description": "YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)",
      "category": "AudioVideo"
    },
    "flatpak": {
      "description": "YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)",
      "category": "AudioVideo",
      "finishArgs": [
        "--socket=wayland",
        "--socket=x11",
        "--share=ipc",
        "--device=dri",
        "--socket=pulseaudio",
        "--share=network",
        "--filesystem=xdg-music:rw",
        "--talk-name=org.freedesktop.Notifications",
        "--own-name=org.mpris.MediaPlayer2.YoutubeMusic.*"
      ]
    },
    "deb": {
      "depends": [
        "libgtk-3-0",
        "libnotify4",
        "libnss3",
        "libxss1",
        "libxtst6",
        "xdg-utils",
        "libatspi2.0-0",
        "libuuid1",
        "libasound2",
        "libgbm1"
      ]
    },
    "rpm": {
      "depends": [
        "/usr/lib64/libuuid.so.1"
      ],
      "fpm": [
        "--rpm-rpmbuild-define",
        "_build_id_links none"
      ]
    },
    "snap": {
      "slots": [
        {
          "mpris": {
            "interface": "mpris"
          }
        }
      ]
    },
    "directories": {
      "output": "./pack/"
    }
  },
  "scripts": {
    "test": "playwright test",
    "test:debug": "cross-env DEBUG=pw:*,-pw:test:protocol playwright test",
    "build": "electron-vite build",
    "vite:inspect": "pnpm clean && electron-vite build --mode development && pnpm exec serve .vite-inspect",
    "start": "electron-vite preview",
    "start:debug": "cross-env ELECTRON_ENABLE_LOGGING=1 pnpm start",
    "dev": "cross-env NODE_OPTIONS=--enable-source-maps electron-vite dev --watch",
    "dev:debug": "cross-env ELECTRON_ENABLE_LOGGING=1 pnpm dev",
    "clean": "del-cli dist && del-cli pack && del-cli .vite-inspect",
    "dist": "pnpm clean && pnpm build && pnpm electron-builder --win --mac --linux -p never",
    "dist:linux": "pnpm clean && pnpm build && pnpm electron-builder --linux -p never",
    "dist:linux:deb-arm64": "pnpm clean && pnpm build && pnpm electron-builder --linux deb:arm64 -p never",
    "dist:linux:rpm-arm64": "pnpm clean && pnpm build && pnpm electron-builder --linux rpm:arm64 -p never",
    "dist:mac": "pnpm clean && pnpm build && pnpm electron-builder --mac dmg:x64 -p never",
    "dist:mac:arm64": "pnpm clean && pnpm build && pnpm electron-builder --mac dmg:arm64 -p never",
    "dist:win": "pnpm clean && pnpm build && pnpm electron-builder --win -p never",
    "dist:win:x64": "pnpm clean && pnpm build && pnpm electron-builder --win nsis-web:x64 -p never",
    "lint": "eslint .",
    "changelog": "npx --yes auto-changelog",
    "release:linux": "pnpm clean && pnpm build && pnpm electron-builder --linux -p always -c.snap.publish=github",
    "release:mac": "pnpm clean && pnpm build && pnpm electron-builder --mac -p always",
    "release:win": "pnpm clean && pnpm build && pnpm electron-builder --win -p always",
    "typecheck": "tsc -p tsconfig.json --noEmit"
  },
  "engines": {
    "node": ">=18",
    "pnpm": ">=8"
  },
  "pnpm": {
    "overrides": {
      "usocket": "1.0.1",
      "node-gyp": "10.2.0",
      "xml2js": "0.6.2",
      "node-fetch": "3.3.2",
      "@electron/universal": "2.0.1",
      "@babel/runtime": "7.26.0"
    },
    "patchedDependencies": {
      "vudio@2.1.1": "patches/vudio@2.1.1.patch",
      "app-builder-lib@24.13.3": "patches/app-builder-lib@24.13.3.patch",
      "@malept/flatpak-bundler": "patches/@malept__flatpak-bundler.patch"
    }
  },
  "dependencies": {
    "@cliqz/adblocker-electron": "1.27.1",
    "@cliqz/adblocker-electron-preload": "1.27.1",
    "@electron-toolkit/tsconfig": "1.0.1",
    "@electron/remote": "2.1.2",
    "@ffmpeg.wasm/core-mt": "0.12.0",
    "@ffmpeg.wasm/main": "0.12.0",
    "@floating-ui/dom": "1.6.12",
    "@foobar404/wave": "2.0.5",
    "@hono/node-server": "1.13.7",
    "@hono/swagger-ui": "0.4.1",
    "@hono/zod-openapi": "0.17.1",
    "@hono/zod-validator": "0.4.1",
    "@jellybrick/electron-better-web-request": "1.0.4",
    "@jellybrick/mpris-service": "2.1.4",
    "@jimp/plugin-invert": "0.22.12",
    "@skyra/jaro-winkler": "1.1.1",
    "@xhayper/discord-rpc": "1.2.0",
    "async-mutex": "0.5.0",
    "butterchurn": "3.0.0-beta.4",
    "butterchurn-presets": "3.0.0-beta.4",
    "color": "4.2.3",
    "conf": "13.0.1",
    "custom-electron-prompt": "1.5.8",
    "dbus-next": "0.10.2",
    "deepmerge-ts": "7.1.3",
    "electron-debug": "4.1.0",
    "electron-is": "3.0.0",
    "electron-localshortcut": "3.2.1",
    "electron-store": "10.0.0",
    "electron-unhandled": "4.0.1",
    "electron-updater": "6.3.9",
    "fast-average-color": "9.4.0",
    "fast-equals": "5.0.1",
    "filenamify": "6.0.0",
    "hono": "4.6.10",
    "howler": "2.2.4",
    "html-to-text": "9.0.5",
    "i18next": "23.16.5",
    "jimp": "1.6.0",
    "keyboardevent-from-electron-accelerator": "2.0.0",
    "keyboardevents-areequal": "0.2.2",
    "node-html-parser": "6.1.13",
    "node-id3": "0.2.6",
    "peerjs": "1.5.4",
    "semver": "7.6.3",
    "serve": "14.2.4",
    "simple-youtube-age-restriction-bypass": "github:organization/Simple-YouTube-Age-Restriction-Bypass#v2.5.9",
    "solid-floating-ui": "0.3.1",
    "solid-js": "1.9.3",
    "solid-styled-components": "0.28.5",
    "solid-transition-group": "0.2.3",
    "ts-morph": "24.0.0",
    "vudio": "2.1.1",
    "x11": "2.3.0",
    "youtubei.js": "11.0.1",
    "zod": "3.23.8"
  },
  "devDependencies": {
    "@eslint/js": "9.15.0",
    "@playwright/test": "1.48.2",
    "@stylistic/eslint-plugin-js": "2.11.0",
    "@total-typescript/ts-reset": "0.6.1",
    "@types/color": "4.2.0",
    "@types/electron-localshortcut": "3.1.3",
    "@types/eslint__js": "8.42.3",
    "@types/howler": "2.2.12",
    "@types/html-to-text": "9.0.4",
    "@types/semver": "7.5.8",
    "@types/trusted-types": "2.0.7",
    "bufferutil": "4.0.8",
    "builtin-modules": "4.0.0",
    "cross-env": "7.0.3",
    "del-cli": "6.0.0",
    "discord-api-types": "0.37.105",
    "electron": "33.2.0",
    "electron-builder": "24.13.3",
    "electron-devtools-installer": "3.2.0",
    "electron-vite": "2.3.0",
    "esbuild": "0.24.0",
    "eslint": "9.15.0",
    "eslint-config-prettier": "9.1.0",
    "eslint-import-resolver-exports": "1.0.0-beta.5",
    "eslint-import-resolver-typescript": "3.6.3",
    "eslint-plugin-import": "2.31.0",
    "eslint-plugin-prettier": "5.2.1",
    "glob": "11.0.0",
    "node-gyp": "10.2.0",
    "playwright": "1.48.2",
    "rollup": "4.27.3",
    "typescript": "5.6.3",
    "typescript-eslint": "8.15.0",
    "utf-8-validate": "6.0.5",
    "vite": "5.4.11",
    "vite-plugin-inspect": "0.8.7",
    "vite-plugin-resolve": "2.5.2",
    "vite-plugin-solid": "2.10.2",
    "ws": "8.18.0"
  },
  "auto-changelog": {
    "hideCredit": true,
    "package": true,
    "unreleased": true,
    "output": "changelog.md"
  }
}
