{
  "$schema": "https://www.raycast.com/schemas/extension.json",
  "name": "spotify-controls",
  "title": "Spotify Controls",
  "description": "Control the Spotify app for macOS with your keyboard.",
  "icon": "icon.png",
  "author": "thomas",
  "contributors": [
    "altrdev",
    "ron-myers",
    "sandypockets"
  ],
  "license": "MIT",
  "commands": [
    {
      "name": "play",
      "title": "Play",
      "subtitle": "Spotify",
      "description": "Plays current track in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "pause",
      "title": "Pause",
      "subtitle": "Spotify",
      "description": "Pause current track in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "playPause",
      "title": "Toggle Play/Pause",
      "subtitle": "Spotify",
      "description": "Toggles play or pause of current track in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "previousTrack",
      "title": "Previous Track",
      "subtitle": "Spotify",
      "description": "Skips to the previous track in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "nextTrack",
      "title": "Next Track",
      "subtitle": "Spotify",
      "description": "Skips to the next track in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "current",
      "title": "Current Track",
      "subtitle": "Spotify",
      "description": "Currently playing track in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "increaseVolume",
      "title": "Increase Volume",
      "subtitle": "Spotify",
      "description": "Increase volume in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "decreaseVolume",
      "title": "Decrease Volume",
      "subtitle": "Spotify",
      "description": "Decrease volume in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "quarterVolume",
      "title": "Set Volume to 25%",
      "subtitle": "Spotify",
      "description": "Sets volume to 25% in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "halfVolume",
      "title": "Set Volume to 50%",
      "subtitle": "Spotify",
      "description": "Sets volume to 50% in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "threeQuartersVolume",
      "title": "Set Volume to 75%",
      "subtitle": "Spotify",
      "description": "Sets volume to 75% in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "fullVolume",
      "title": "Set Volume to 100%",
      "subtitle": "Spotify",
      "description": "Sets volume to 100% in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "copyUrl",
      "title": "Copy Current Track URL",
      "subtitle": "Spotify",
      "description": "Currently playing song's URL in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "shuffle",
      "title": "Toggle Shuffle",
      "subtitle": "Spotify",
      "description": "Toggles shuffle mode in Spotify.",
      "mode": "no-view"
    },
    {
      "name": "shufflePlay",
      "title": "Shuffle Play",
      "subtitle": "Spotify",
      "description": "Plays current track with shuffle enabled.",
      "mode": "no-view"
    },
    {
      "name": "repeat",
      "title": "Toggle Repeat",
      "subtitle": "Spotify",
      "description": "Toggles repeat mode in Spotify.",
      "mode": "no-view"
    }
  ],
  "dependencies": {
    "@raycast/api": "^1.28.0",
    "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",
    "eslint-plugin-prettier": "^4.0.0",
    "prettier": "2.4.1",
    "typescript": "^4.4.3"
  },
  "scripts": {
    "build": "ray build -e dist",
    "dev": "ray develop",
    "lint": "ray lint"
  }
}
