{
  "name": "cider",
  "applicationId": "Cider",
  "productName": "Cider",
  "version": "1.6.1",
  "description": "A new cross-platform Apple Music experience based on Electron and Vue.js written from scratch with performance in mind.",
  "license": "AGPL-3.0",
  "main": "./build/index.js",
  "author": "Cider Collective <cryptofyre@cider.sh> (https://cider.sh)",
  "repository": "github:ciderapp/Cider",
  "bugs": {
    "url": "https://github.com/ciderapp/Cider/issues?q=is%3Aopen+is%3Aissue+label%3Abug"
  },
  "homepage": "https://cider.sh/",
  "buildResources": "resources",
  "scripts": {
    "bootstrap": "npx -y check-engine && yarn",
    "build": "tsc && lessc ./src/renderer/style.less ./src/renderer/style.css",
    "start": "npm run build && electron ./build/index.js",
    "dist": "npm run build && electron-builder",
    "dist:win": "npm run build && electron-builder --win",
    "dist:linux": "npm run build && electron-builder --linux",
    "dist:universalNotWorking": "npm run build && electron-builder --mac --universal",
    "winget": "npm run build && electron-builder --win -c winget.json",
    "msft": "npm run build && electron-builder -c msft-package.json",
    "mstest": "npm run build && electron-builder -c msft-test.json",
    "steamdeck": "npm run build && electron-builder --linux -c steam-deck.json",
    "format:check": "npx prettier --check \"src/**/*.{js,json,ts,less}\"",
    "format:write": "npx prettier --write \"src/**/*.{js,json,ts,less}\""
  },
  "dependencies": {
    "@achingbrain/ssdp": "^4.0.1",
    "@sentry/electron": "^4.2.0",
    "@sentry/integrations": "^7.31.1",
    "adm-zip": "^0.5.10",
    "airtunes2": "github:ciderapp/node_airtunes2",
    "castv2-client": "^1.2.0",
    "chokidar": "^3.5.3",
    "discord-auto-rpc": "^1.0.17",
    "dns-js": "github:ciderapp/node-dns-js",
    "ejs": "^3.1.8",
    "electron-fetch": "^1.9.1",
    "electron-log": "^4.4.8",
    "electron-notarize": "^1.2.2",
    "electron-store": "^8.1.0",
    "electron-updater": "^5.3.0",
    "electron-window-state": "^5.0.3",
    "express": "^4.18.2",
    "get-port": "5.1.1",
    "jimp": "^0.22.7",
    "lastfmapi": "^0.1.1",
    "mdns-js": "github:ciderapp/node-mdns-js",
    "mpris-service": "^2.1.2",
    "music-metadata": "7.12.6",
    "node-gyp": "^9.3.1",
    "node-ssdp": "^4.0.1",
    "node-ssdp-js": "^0.9.6",
    "qrcode": "^1.5.1",
    "request": "^2.88.2",
    "run-script-os": "^1.1.6",
    "simple-ssdp": "^1.0.2",
    "source-map-support": "^0.5.21",
    "ssdp-js": "^1.0.1",
    "ts-md5": "1.3.1",
    "upnp-mediarenderer-client": "github:vapormusic/node-upnp-mediarenderer-client",
    "v8-compile-cache": "^2.3.0",
    "wallpaper": "5.0.1",
    "ws": "^8.12.0",
    "xml2js": "^0.5.0",
    "youtube-search-without-api-key": "^1.1.0"
  },
  "devDependencies": {
    "@types/adm-zip": "^0.5.0",
    "@types/discord-rpc": "4.0.4",
    "@types/express": "^4.17.15",
    "@types/musickit": "github:ciderapp/musickit-types",
    "@types/node": "^20.1.1",
    "@types/qrcode-terminal": "^0.12.0",
    "@types/ws": "^8.5.4",
    "electron": "github:castlabs/electron-releases",
    "electron-builder": "^23.6.0",
    "electron-builder-notarize-pkg": "^1.2.0",
    "electron-webpack": "^2.8.2",
    "less": "^4.1.3",
    "prettier": "2.8.8",
    "typescript": "^5.0.4",
    "vue-devtools": "^5.1.4",
    "webpack": "~5.82.0"
  },
  "fileAssociations": [
    {
      "name": "Cider",
      "mimeType": "x-scheme-handler/ame;x-scheme-handler/itms;x-scheme-handler/itmss;x-scheme-handler/musics;x-scheme-handler/music;",
      "schemes": [
        "ame",
        "cider",
        "itms",
        "itmss",
        "musics",
        "music"
      ],
      "protocols": [
        "ame",
        "cider",
        "itms",
        "itmss",
        "musics",
        "music"
      ]
    }
  ],
  "build": {
    "electronVersion": "24.3.0",
    "electronDownload": {
      "version": "24.3.0+wvcus",
      "mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
    },
    "appId": "cider",
    "afterPack": "./resources/afterPack.js",
    "afterSign": "./resources/notarize.js",
    "protocols": [
      {
        "name": "Cider",
        "schemes": [
          "ame",
          "cider",
          "itms",
          "itmss",
          "musics",
          "music"
        ]
      }
    ],
    "extends": null,
    "files": [
      "./build/**/*",
      "./src/**/*",
      "./resources/icons/**/*"
    ],
    "linux": {
      "target": [
        "AppImage",
        "deb",
        "snap"
      ],
      "synopsis": "A new look into listening and enjoying music in style and performance. ",
      "category": "AudioVideo",
      "icon": "cider",
      "executableName": "cider"
    },
    "appx": {
      "applicationId": "Cider",
      "displayName": "Cider",
      "identityName": "Cider",
      "publisherDisplayName": "Cider Collective",
      "backgroundColor": "transparent",
      "setBuildNumber": true
    },
    "nsis": {
      "oneClick": false,
      "perMachine": false,
      "allowToChangeInstallationDirectory": true,
      "license": "LICENSE",
      "deleteAppDataOnUninstall": true,
      "artifactName": "${productName}-Setup-${version}.${ext}"
    },
    "pkg": {
      "installLocation": "/Applications",
      "background": {
        "file": "./resources/bg.png",
        "alignment": "bottomleft"
      },
      "allowAnywhere": true,
      "allowCurrentUserHome": true,
      "allowRootDirectory": true,
      "license": "./LICENSE",
      "isVersionChecked": false,
      "isRelocatable": false,
      "overwriteAction": "upgrade"
    },
    "snap": {
      "slots": [
        {
          "mpris": {
            "interface": "mpris"
          }
        }
      ]
    },
    "dmg": {
      "background": "./resources/bg.tiff",
      "icon": "resources/icons/icon.ico"
    },
    "mas": {
      "entitlements": "./resources/entitlements.mac.plist",
      "entitlementsInherit": "./resources/entitlements.mac.plist"
    },
    "win": {
      "target": [
        "nsis"
      ],
      "icon": "resources/icons/icon.ico"
    },
    "directories": {
      "buildResources": ".",
      "output": "dist"
    },
    "mac": {
      "hardenedRuntime": true,
      "gatekeeperAssess": false,
      "icon": "./resources/icons/icon.icns",
      "category": "public.app-category.music",
      "entitlements": "./resources/entitlements.mac.plist",
      "entitlementsInherit": "./resources/entitlements.mac.plist",
      "darkModeSupport": true,
      "target": [
        "dmg"
      ],
      "extendInfo": {
        "NSUserNotificationAlertStyle": "alert"
      }
    }
  },
  "electronWebpack": {
    "devtool": "source-map"
  },
  "engines": {
    "node": "^19 || ^18 || ^16 || ^14.19",
    "npm": ">= 6.13.4",
    "yarn": ">= 1.21.1"
  },
  "packageManager": "yarn@3.5.1"
}
