vscode_dwm-git-simpleuse/package.json
nyncral 519dbb96cf - check if in git repository before running commands
- can "disable" extention if not in git repository
2024-07-19 15:18:40 +02:00

66 lines
1.3 KiB
JSON

{
"name": "dwm-git-simpleuse",
"displayName": "DWM_git_simpleUse",
"icon": "img/icon.png",
"description": "",
"publisher": "nyncral",
"version": "0.1.3",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "dwm-git-simpleuse.fullPush",
"title": "gitDWM : full push"
},
{
"command": "dwm-git-simpleuse.initRepo",
"title": "gitDWM : initialize existing repository"
}
],
"keybindings": [
{
"command": "dwm-git-simpleuse.fullPush",
"key": "ctrl+alt+s",
"mac": "ctrl+alt+s"
}
],
"configuration": {
"type": "object",
"title": "DWM Git Simple Use Configuration",
"properties": {
"dwm-git-simpleuse.isEnabled": {
"type": "boolean",
"default": true,
"description": "Enable DWM Git Simple Use extension",
"scope": "resource"
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"child_process": "^1.0.2"
}
}