2019-12-03 00:50:08 +03:00
|
|
|
{
|
|
|
|
"name": "magit",
|
|
|
|
"displayName": "magit",
|
|
|
|
"description": "Magit for VSCode",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.40.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"onCommand:extension.magit"
|
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "extension.magit",
|
|
|
|
"title": "Magit Status"
|
2019-12-07 04:28:37 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-choose",
|
|
|
|
"title": "Magit Choose",
|
|
|
|
"when": "editorLangId == magit-status"
|
2019-12-07 19:38:13 +03:00
|
|
|
},
|
|
|
|
{
|
2019-12-07 23:48:22 +03:00
|
|
|
"command": "extension.magit-key-b",
|
2019-12-07 19:38:13 +03:00
|
|
|
"title": "Magit Branch",
|
|
|
|
"when": "editorLangId == magit-status"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"commandPalette": [
|
|
|
|
{
|
|
|
|
"command": "extension.magit-choose",
|
|
|
|
"when": "editorLangId == magit-status"
|
2019-12-07 19:38:13 +03:00
|
|
|
},
|
|
|
|
{
|
2019-12-07 23:48:22 +03:00
|
|
|
"command": "extension.magit-key-b",
|
|
|
|
"when": "false && editorLangId == magit-status"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "magit-status",
|
|
|
|
"aliases": ["Magit"],
|
|
|
|
"extensions": [".magit"],
|
2019-12-07 05:02:04 +03:00
|
|
|
"configuration": "./languages/magit.language-configuration.json"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "magit-status",
|
|
|
|
"scopeName": "source.magit",
|
2019-12-07 05:02:04 +03:00
|
|
|
"path": "./syntaxes/magitStatus.tmGrammar.json"
|
2019-12-07 04:28:37 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"command": "editor.toggleFold",
|
|
|
|
"key": "tab",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit-status"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.magit-choose",
|
|
|
|
"key": "enter",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit-status"
|
2019-12-07 19:38:13 +03:00
|
|
|
},
|
|
|
|
{
|
2019-12-07 23:48:22 +03:00
|
|
|
"command": "extension.magit-key-b",
|
2019-12-07 19:38:13 +03:00
|
|
|
"key": "b",
|
|
|
|
"when": "editorTextFocus && editorLangId == magit-status"
|
2019-12-03 00:50:08 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run compile",
|
|
|
|
"compile": "tsc -p ./",
|
|
|
|
"watch": "tsc -watch -p ./",
|
|
|
|
"pretest": "npm run compile",
|
|
|
|
"test": "node ./out/test/runTest.js"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/glob": "^7.1.1",
|
|
|
|
"@types/mocha": "^5.2.7",
|
|
|
|
"@types/node": "^12.11.7",
|
|
|
|
"@types/vscode": "^1.40.0",
|
|
|
|
"glob": "^7.1.5",
|
|
|
|
"mocha": "^6.2.2",
|
|
|
|
"typescript": "^3.6.4",
|
|
|
|
"tslint": "^5.20.0",
|
|
|
|
"vscode-test": "^1.2.2"
|
|
|
|
}
|
|
|
|
}
|