{
  "name": "github",
  "displayName": "%displayName%",
  "description": "%description%",
  "publisher": "vscode",
  "license": "MIT",
  "version": "0.0.1",
  "engines": {
    "vscode": "^1.41.0"
  },
  "icon": "images/icon.png",
  "categories": [
    "Other"
  ],
  "activationEvents": [
    "*"
  ],
  "extensionDependencies": [
    "vscode.git-base"
  ],
  "main": "./out/extension.js",
  "capabilities": {
    "virtualWorkspaces": false,
    "untrustedWorkspaces": {
      "supported": true
    }
  },
  "enabledApiProposals": [
    "contribShareMenu",
    "contribEditSessions"
  ],
  "contributes": {
    "commands": [
      {
        "command": "github.publish",
        "title": "Publish to GitHub"
      },
      {
        "command": "github.copyVscodeDevLink",
        "title": "Copy vscode.dev Link"
      },
      {
        "command": "github.copyVscodeDevLinkFile",
        "title": "Copy vscode.dev Link"
      },
      {
        "command": "github.openOnVscodeDev",
        "title": "Open in vscode.dev",
        "icon": "$(globe)"
      }
    ],
    "continueEditSession": [
      {
        "command": "github.openOnVscodeDev",
        "when": "github.hasGitHubRepo",
        "qualifiedName": "Continue Working in vscode.dev",
        "remoteGroup": "virtualfs_43_file_0_web@0"
      }
    ],
    "menus": {
      "commandPalette": [
        {
          "command": "github.publish",
          "when": "git-base.gitEnabled && remoteName != 'codespaces'"
        },
        {
          "command": "github.copyVscodeDevLink",
          "when": "false"
        },
        {
          "command": "github.copyVscodeDevLinkFile",
          "when": "false"
        },
        {
          "command": "github.openOnVscodeDev",
          "when": "false"
        }
      ],
      "file/share": [
        {
          "command": "github.copyVscodeDevLinkFile",
          "when": "github.hasGitHubRepo",
          "group": "0_vscode@0"
        }
      ],
      "editor/context/share": [
        {
          "command": "github.copyVscodeDevLink",
          "when": "github.hasGitHubRepo && resourceScheme != untitled",
          "group": "0_vscode@0"
        }
      ]
    },
    "configuration": [
      {
        "title": "GitHub",
        "properties": {
          "github.gitAuthentication": {
            "type": "boolean",
            "scope": "resource",
            "default": true,
            "description": "%config.gitAuthentication%"
          },
          "github.gitProtocol": {
            "type": "string",
            "enum": [
              "https",
              "ssh"
            ],
            "default": "https",
            "description": "%config.gitProtocol%"
          }
        }
      }
    ],
    "viewsWelcome": [
      {
        "view": "scm",
        "contents": "%welcome.publishFolder%",
        "when": "config.git.enabled && git.state == initialized && workbenchState == folder && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0"
      },
      {
        "view": "scm",
        "contents": "%welcome.publishWorkspaceFolder%",
        "when": "config.git.enabled && git.state == initialized && workbenchState == workspace && workspaceFolderCount != 0 && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0"
      }
    ],
    "markdown.previewStyles": [
      "./markdown.css"
    ]
  },
  "scripts": {
    "vscode:prepublish": "npm run compile",
    "compile": "gulp compile-extension:github",
    "watch": "gulp watch-extension:github"
  },
  "dependencies": {
    "@octokit/rest": "19.0.4",
    "tunnel": "^0.0.6"
  },
  "devDependencies": {
    "@types/node": "16.x"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/microsoft/vscode.git"
  }
}
