Files
vscode/extensions/git-extended/package.json
2018-04-05 15:39:22 -07:00

102 lines
2.2 KiB
JSON

{
"name": "git-extended",
"displayName": "Git Extended",
"description": "Git Extended",
"enableProposedApi": true,
"version": "0.0.1",
"publisher": "rebornix",
"engines": {
"vscode": "^1.13.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:commits",
"onView:stash",
"onView:pr"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "GitHub configuration",
"properties": {
"github.username": {
"type": [
"string",
"null"
],
"default": null,
"description": "The username to use when accessing GitHub. The default is to consult the Git credential manager."
},
"github.host": {
"type": "string",
"default": "github.com",
"description": "The host name to access GitHub. Change this to your GitHub Enterprise host."
},
"github.accessToken": {
"type": [
"string",
"null"
],
"default": null,
"description": "GitHub access token."
}
}
},
"views": {
"explorer": [
{
"id": "pr",
"name": "Pull Requests"
}
]
},
"commands": [
{
"command": "pr.refreshList",
"title": "Refresh",
"icon": {
"dark": "resources/icons/dark/refresh.svg",
"light": "resources/icons/light/refresh.svg"
}
},
{
"command": "pr.pick",
"title": "Checkout & Review"
}
],
"menus": {
"view/title": [
{
"command": "pr.refreshList",
"when": "view == pr"
}
],
"view/item/context": [
{
"command": "pr.pick",
"when": "view == pr && viewItem == pullrequest"
}
]
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./"
},
"devDependencies": {
"@types/lodash": "^4.14.106",
"@types/node": "*",
"typescript": "^2.1.4"
},
"dependencies": {
"@octokit/rest": "^15.2.6",
"dugite": "^1.28.0",
"git-credential-node": "^1.1.0",
"lodash": "4.17.5",
"tmp": "^0.0.31"
}
}