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

85 lines
1.9 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"
},
{
"command": "extension.magit-choose",
"title": "Magit Choose",
"when": "editorLangId == magit-status"
}
],
"menus": {
"commandPalette": [
{
"command": "extension.magit-choose",
"when": "editorLangId == magit-status"
}
]
},
"languages": [
{
"id": "magit-status",
"aliases": ["Magit"],
"extensions": [".magit"],
"configuration": "./languageConfigurations/magit.json"
}
],
"grammars": [
{
"language": "magit-status",
"scopeName": "source.magit",
"path": "./syntaxes/magitStatus.tmGrammar.json",
"embeddedLanguages": {
"meta.embedded.inline.diff": "source.diff"
}
}
],
"keybindings": [
{
"command": "editor.toggleFold",
"key": "tab",
"when": "editorTextFocus && editorLangId == magit-status"
},
{
"command": "extension.magit-choose",
"key": "enter",
"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"
}
}