1
1
mirror of https://github.com/kahole/edamagit.git synced 2024-09-11 07:15:31 +03:00
edamagit/package.json

219 lines
5.8 KiB
JSON
Raw Normal View History

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-11 01:17:15 +03:00
"command": "extension.magit-visit-at-point",
"title": "Magit Visit-at-point",
"when": "editorLangId == magit-status"
},
2019-12-09 02:06:23 +03:00
{
"command": "extension.magit-commit",
"title": "Magit Commit",
"when": "editorLangId == magit-status"
},
{
2019-12-10 00:38:54 +03:00
"command": "extension.magit-branching",
2019-12-08 21:57:55 +03:00
"title": "Magit Branching",
"when": "editorLangId == magit-status"
},
{
"command": "extension.magit-pushing",
"title": "Magit Pushing",
"when": "editorLangId == magit-status"
},
2019-12-10 00:38:54 +03:00
{
"command": "extension.magit-stage",
"title": "Magit Stage",
"when": "editorLangId == magit-status"
},
{
"command": "extension.magit-stage-all",
"title": "Magit Stage All",
"when": "editorLangId == magit-status"
},
2019-12-13 00:43:52 +03:00
{
"command": "extension.magit-unstage",
"title": "Magit Unstage",
"when": "editorLangId == magit-status"
},
{
"command": "extension.magit-unstage-all",
"title": "Magit Unstage All",
"when": "editorLangId == magit-status"
},
2019-12-08 21:57:55 +03:00
{
"command": "extension.magit-help",
"title": "Magit Help",
"when": "editorLangId == magit-status"
2019-12-09 02:06:23 +03:00
},
{
"command": "extension.magit-save-and-close-commit-msg",
"title": "Magit Save and close commit message",
"when": "false"
}
],
"menus": {
"commandPalette": [
2019-12-08 21:57:55 +03:00
{
2019-12-10 00:38:54 +03:00
"command": "extension.magit-branching",
2019-12-09 02:06:23 +03:00
"when": "editorLangId == magit-status"
2019-12-08 21:57:55 +03:00
},
{
2019-12-11 01:17:15 +03:00
"command": "extension.magit-visit-at-point",
"when": "editorLangId == magit-status"
},
2019-12-10 00:38:54 +03:00
{
"command": "extension.magit-stage",
"when": "editorLangId == magit-status"
},
{
"command": "extension.magit-stage-all",
"when": "editorLangId == magit-status"
},
2019-12-13 00:43:52 +03:00
{
"command": "extension.magit-unstage",
"when": "editorLangId == magit-status"
},
{
"command": "extension.magit-unstage-all",
"when": "editorLangId == magit-status"
},
2019-12-09 02:06:23 +03:00
{
"command": "extension.magit-commit",
"when": "editorLangId == magit-status"
},
{
2019-12-08 21:57:55 +03:00
"command": "extension.magit-pushing",
"when": "editorLangId == magit-status"
2019-12-09 02:06:23 +03:00
},
{
"command": "extension.magit-save-and-close-commit-msg",
"when": "false"
}
]
},
"languages": [
{
"id": "magit-status",
2019-12-13 00:09:00 +03:00
"aliases": [
"Magit"
],
"extensions": [
".magit"
],
2019-12-07 05:02:04 +03:00
"configuration": "./languages/magit.language-configuration.json"
}
],
"grammars": [
{
"language": "magit-status",
"scopeName": "source.magit",
2019-12-07 05:02:04 +03:00
"path": "./syntaxes/magitStatus.tmGrammar.json"
}
],
"keybindings": [
{
"command": "editor.toggleFold",
"key": "tab",
"when": "editorTextFocus && editorLangId == magit-status"
},
2019-12-13 00:09:00 +03:00
{
"command": "extension.magit",
"key": "g",
"when": "editorTextFocus && editorLangId == magit-status"
},
{
2019-12-11 01:17:15 +03:00
"command": "extension.magit-visit-at-point",
"key": "enter",
"when": "editorTextFocus && editorLangId == magit-status"
},
2019-12-09 02:06:23 +03:00
{
"command": "extension.magit-commit",
"key": "c",
"when": "editorTextFocus && editorLangId == magit-status"
},
{
2019-12-10 00:38:54 +03:00
"command": "extension.magit-branching",
"key": "b",
"when": "editorTextFocus && editorLangId == magit-status"
2019-12-08 21:57:55 +03:00
},
{
"command": "extension.magit-pushing",
"key": "shift+p",
"when": "editorTextFocus && editorLangId == magit-status"
},
{
"command": "extension.magit-help",
"key": "?",
"when": "editorTextFocus && editorLangId == magit-status"
2019-12-09 02:06:23 +03:00
},
2019-12-10 00:38:54 +03:00
{
"command": "extension.magit-stage",
"key": "s",
"when": "editorTextFocus && editorLangId == magit-status"
},
{
"command": "extension.magit-stage-all",
"key": "shift+s",
"when": "editorTextFocus && editorLangId == magit-status"
},
2019-12-13 00:43:52 +03:00
{
"command": "extension.magit-unstage",
"key": "u",
"when": "editorTextFocus && editorLangId == magit-status"
},
{
"command": "extension.magit-unstage-all",
"key": "shift+u",
"when": "editorTextFocus && editorLangId == magit-status"
},
2019-12-09 02:06:23 +03:00
{
"command": "extension.magit-save-and-close-commit-msg",
"key": "ctrl+c ctrl+c",
"when": "editorTextFocus && editorLangId == git-commit"
},
{
"command": "workbench.action.closeActiveEditor",
"key": "ctrl+c ctrl+k",
"when": "editorTextFocus && editorLangId == git-commit"
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",
2019-12-13 00:09:00 +03:00
"typescript": "^3.7.3",
"tslint": "^5.20.1",
2019-12-03 00:50:08 +03:00
"vscode-test": "^1.2.2"
}
2019-12-13 00:09:00 +03:00
}