{
  "$schema": "https://www.raycast.com/schemas/extension.json",
  "name": "music",
  "title": "Music",
  "description": "Control the Apple Music app with your keyboard.",
  "icon": "icon.png",
  "author": "fedevitaledev",
  "license": "MIT",
  "keywords": [
    "music",
    "player",
    "media"
  ],
  "commands": [
    {
      "name": "toggle-play-pause",
      "title": "Toggle Play/Pause",
      "subtitle": "Apple Music",
      "description": "Toggle play or pause of current track in Music.",
      "mode": "no-view"
    },
    {
      "name": "play",
      "title": "Play",
      "subtitle": "Apple Music",
      "description": "Play current track in Music.",
      "mode": "no-view"
    },
    {
      "name": "pause",
      "title": "Pause",
      "subtitle": "Apple Music",
      "description": "Pause current track in Music.",
      "mode": "no-view"
    },
    {
      "name": "next-track",
      "title": "Next Track",
      "subtitle": "Apple Music",
      "description": "Skip to the next track in Music.",
      "mode": "no-view"
    },
    {
      "name": "previous-track",
      "title": "Previous Track",
      "subtitle": "Apple Music",
      "description": "Skip to the previous track in Music.",
      "mode": "no-view"
    },
    {
      "name": "currently-playing",
      "title": "Currently Playing Track",
      "subtitle": "Apple Music",
      "description": "Get info about currently playing track.",
      "mode": "no-view"
    },
    {
      "name": "love",
      "title": "Love Track",
      "subtitle": "Apple Music",
      "description": "Love currently playing track.",
      "mode": "no-view"
    },
    {
      "name": "dislike",
      "title": "Dislike Track",
      "subtitle": "Apple Music",
      "description": "Dislike currently playing track.",
      "mode": "no-view"
    },
    {
      "name": "add-to-library",
      "title": "Add to Library",
      "subtitle": "Apple Music",
      "description": "Add currently playing track to your library.",
      "mode": "no-view"
    },
    {
      "name": "love-and-add-to-library",
      "title": "Love and Add to Library",
      "subtitle": "Apple Music",
      "description": "Love and add currently playing track to your library.",
      "mode": "no-view"
    },
    {
      "name": "start-playlist",
      "title": "Start Playlist",
      "subtitle": "Apple Music",
      "description": "Start any of your playlists.",
      "keywords": [
        "playlist"
      ],
      "mode": "view"
    },
    {
      "name": "play-library-track",
      "title": "Search & Play Library Track",
      "subtitle": "Apple Music",
      "description": "Search and start a track from your library.",
      "keywords": [
        "track"
      ],
      "mode": "view"
    },
    {
      "name": "play-library-album",
      "title": "Search & Play Library Album",
      "subtitle": "Apple Music",
      "description": "Search and start an album from your library.",
      "keywords": [
        "album"
      ],
      "mode": "view"
    }
  ],
  "dependencies": {
    "@raycast/api": "^1.25.4",
    "fp-ts": "^2.11.5",
    "run-applescript": "^6.0.0"
  },
  "devDependencies": {
    "@types/node": "~16.10.0",
    "@types/react": "^17.0.28",
    "@typescript-eslint/eslint-plugin": "^5.0.0",
    "@typescript-eslint/parser": "^5.0.0",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.3.0",
    "react-devtools": "^4.19.2",
    "typescript": "^4.4.3"
  },
  "scripts": {
    "build": "ray build -e dist",
    "dev": "ray develop"
  }
}
