codetour/package.json

409 строки
11 KiB
JSON
Исходник Обычный вид История

2020-03-07 21:37:16 +03:00
{
"name": "codetour",
2020-03-14 18:12:48 +03:00
"displayName": "CodeTour",
2020-03-08 17:06:53 +03:00
"description": "VS Code extension that allows you to record and playback guided tours of codebases, directly within the editor",
2020-03-07 21:37:16 +03:00
"publisher": "vsls-contrib",
"version": "0.0.15",
2020-03-07 21:37:16 +03:00
"repository": {
"type": "git",
2020-03-14 18:12:48 +03:00
"url": "https://github.com/vsls-contrib/codetour"
2020-03-07 21:37:16 +03:00
},
"bugs": {
2020-03-14 18:12:48 +03:00
"url": "https://github.com/vsls-contrib/codetour/issues"
2020-03-07 21:37:16 +03:00
},
2020-03-14 18:12:48 +03:00
"homepage": "https://github.com/vsls-contrib/codetour#readme",
2020-03-07 21:37:16 +03:00
"license": "ISC",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.42.0"
},
"categories": [
"Other"
],
"keywords": [
"Collaboration",
"Sharing"
],
2020-03-09 19:30:05 +03:00
"extensionKind": [
"workspace",
"ui"
],
2020-03-07 21:37:16 +03:00
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
2020-03-08 05:20:04 +03:00
{
"command": "codetour.addTourStep",
2020-03-09 19:01:17 +03:00
"title": "Add Step to Tour",
2020-03-08 05:20:04 +03:00
"enablement": "!commentIsEmpty"
},
{
2020-03-13 19:11:51 +03:00
"command": "codetour.changeTourDescription",
"title": "Change Description"
},
2020-03-15 01:36:25 +03:00
{
"command": "codetour.changeTourRef",
"title": "Change Git Ref"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.changeTourTitle",
"title": "Change Title"
},
{
"command": "codetour.deleteTour",
"title": "Delete Tour"
2020-03-08 05:20:04 +03:00
},
{
"command": "codetour.deleteTourStep",
"title": "Delete Step"
},
2020-03-14 22:31:16 +03:00
{
"command": "codetour.editTour",
"title": "Edit Tour",
2020-03-16 06:47:19 +03:00
"category": "CodeTour",
2020-03-14 22:31:16 +03:00
"icon": "$(edit)"
},
2020-03-19 20:52:49 +03:00
{
"command": "codetour.editTourAtStep",
"title": "Edit Step"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.editTourStep",
"title": "Edit Step"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.endTour",
2020-03-08 05:20:04 +03:00
"title": "End Tour",
2020-03-16 06:47:19 +03:00
"category": "CodeTour",
2020-03-15 01:36:25 +03:00
"icon": "$(debug-stop)"
2020-03-07 21:37:16 +03:00
},
{
"command": "codetour.exportTour",
"title": "Export Tour..."
},
2020-03-14 18:11:19 +03:00
{
"command": "codetour.moveTourStepBack",
"title": "Move Up",
"icon": "$(arrow-up)"
},
{
"command": "codetour.moveTourStepForward",
"title": "Move Down",
"icon": "$(arrow-down)"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.nextTourStep",
"title": "Next",
"icon": "$(arrow-right)"
},
{
"command": "codetour.openTourFile",
"title": "Open Tour File...",
"icon": "$(folder-opened)",
"category": "CodeTour"
},
{
"command": "codetour.previousTourStep",
"title": "Previous",
"icon": "$(arrow-left)"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.recordTour",
"title": "Record Tour",
2020-03-14 18:12:48 +03:00
"category": "CodeTour",
2020-03-08 05:20:04 +03:00
"icon": "$(add)"
},
2020-03-07 23:01:36 +03:00
{
"command": "codetour.refreshTours",
"title": "Refresh Tours",
2020-03-14 18:12:48 +03:00
"category": "CodeTour"
2020-03-07 23:01:36 +03:00
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.resumeTour",
2020-03-13 22:08:10 +03:00
"title": "Resume Tour",
2020-03-14 18:12:48 +03:00
"category": "CodeTour"
2020-03-07 21:37:16 +03:00
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.saveTourStep",
"title": "Save Step"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.startTour",
"title": "Start Tour",
2020-03-14 18:12:48 +03:00
"category": "CodeTour",
2020-03-15 01:36:25 +03:00
"icon": "$(debug-start)"
2020-03-07 21:37:16 +03:00
}
],
"menus": {
"commandPalette": [
2020-03-16 06:47:19 +03:00
{
"command": "codetour.editTour",
"when": "codetour:inTour && !codetour:recording && codetour:canEditTour"
2020-03-16 06:47:19 +03:00
},
2020-03-13 21:22:17 +03:00
{
"command": "codetour.endTour",
"when": "codetour:inTour"
},
{
"command": "codetour.resumeTour",
"when": "codetour:inTour"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.startTour",
"when": "codetour:hasTours"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.addTourStep",
"when": "false"
},
2020-03-15 01:36:25 +03:00
{
"command": "codetour.changeTourRef",
"when": "false"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.changeTourTitle",
"when": "false"
},
{
"command": "codetour.changeTourDescription",
"when": "false"
},
{
"command": "codetour.deleteTour",
"when": "false"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.deleteTourStep",
"when": "false"
},
2020-03-19 20:52:49 +03:00
{
"command": "codetour.editTourAtStep",
"when": "false"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.editTourStep",
"when": "false"
},
{
"command": "codetour.exportTour",
"when": "false"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.nextTourStep",
"when": "false"
},
{
"command": "codetour.previousTourStep",
2020-03-07 21:37:16 +03:00
"when": "false"
2020-03-08 05:20:04 +03:00
},
{
"command": "codetour.saveTourStep",
"when": "false"
2020-03-07 21:37:16 +03:00
}
],
"comments/commentThread/title": [
{
"command": "codetour.previousTourStep",
"group": "inline@1",
"when": "commentController == codetour && commentThread =~ /hasPrevious/"
},
{
"command": "codetour.nextTourStep",
"group": "inline@2",
"when": "commentController == codetour && commentThread =~ /hasNext/"
},
2020-03-14 22:31:16 +03:00
{
2020-03-15 07:14:44 +03:00
"command": "codetour.endTour",
2020-03-07 21:37:16 +03:00
"group": "inline@3",
2020-03-15 07:14:44 +03:00
"when": "commentController == codetour"
2020-03-08 05:20:04 +03:00
},
{
2020-03-15 07:14:44 +03:00
"command": "codetour.editTour",
2020-03-08 05:20:04 +03:00
"group": "inline@4",
"when": "commentController == codetour && !codetour:recording && codetour:canEditTour"
2020-03-07 21:37:16 +03:00
}
2020-03-08 05:20:04 +03:00
],
"comments/commentThread/context": [
{
"command": "codetour.addTourStep",
"group": "inline",
"when": "commentController == codetour && commentThreadIsEmpty"
}
],
"comments/comment/title": [
2020-03-14 22:31:16 +03:00
{
"command": "codetour.moveTourStepBack",
"group": "move@1",
"when": "commentController == codetour && codetour:recording && commentThread =~ /hasPrevious/"
},
{
"command": "codetour.moveTourStepForward",
"group": "move@2",
"when": "commentController == codetour && codetour:recording && commentThread =~ /hasNext/"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.editTourStep",
2020-03-14 22:31:16 +03:00
"group": "mutate@1",
2020-03-08 05:20:04 +03:00
"when": "commentController == codetour && codetour:recording"
},
{
"command": "codetour.deleteTourStep",
2020-03-14 22:31:16 +03:00
"group": "mutate@2",
2020-03-08 05:20:04 +03:00
"when": "commentController == codetour && codetour:recording"
}
],
"comments/comment/context": [
{
"command": "codetour.saveTourStep",
"group": "inline@2",
"when": "commentController == codetour && codetour:recording"
}
],
"view/title": [
{
"command": "codetour.openTourFile",
"when": "view == codetour.tours",
"group": "navigation@1"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.recordTour",
"when": "view == codetour.tours",
"group": "navigation@2"
2020-03-08 05:20:04 +03:00
}
2020-03-08 17:06:53 +03:00
],
"view/item/context": [
2020-03-09 19:01:17 +03:00
{
"command": "codetour.endTour",
"when": "viewItem =~ /codetour.tour(.recording)?.active/",
2020-03-15 07:14:44 +03:00
"group": "inline@1"
2020-03-09 19:01:17 +03:00
},
2020-03-08 17:06:53 +03:00
{
"command": "codetour.startTour",
"when": "viewItem == codetour.tour",
2020-03-15 07:14:44 +03:00
"group": "inline@2"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.resumeTour",
2020-03-14 22:31:16 +03:00
"when": "viewItem =~ /codetour.tour(.recording)?.active$/",
2020-03-15 07:14:44 +03:00
"group": "active@1"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.endTour",
2020-03-14 22:31:16 +03:00
"when": "viewItem =~ /codetour.tour(.recording)?.active$/",
2020-03-15 07:14:44 +03:00
"group": "active@2"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.startTour",
2020-03-13 19:11:51 +03:00
"when": "viewItem == codetour.tour",
"group": "basic@1"
},
2020-03-13 22:08:10 +03:00
{
"command": "codetour.changeTourTitle",
2020-03-14 22:31:16 +03:00
"when": "viewItem =~ /^codetour.tour(.recording)?(.active)?$/",
2020-03-13 22:08:10 +03:00
"group": "change@1"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.changeTourDescription",
2020-03-14 22:31:16 +03:00
"when": "viewItem =~ /^codetour.tour(.recording)?(.active)?$/",
2020-03-13 22:08:10 +03:00
"group": "change@2"
2020-03-13 19:11:51 +03:00
},
2020-03-15 01:36:25 +03:00
{
"command": "codetour.changeTourRef",
"when": "viewItem =~ /^codetour.tour(.recording)?(.active)?$/ && gitOpenRepositoryCount != 0",
"group": "change@3"
},
2020-03-14 22:31:16 +03:00
{
"command": "codetour.editTour",
"when": "viewItem =~ /^codetour.tour(.active)?$/",
"group": "edit@1"
},
2020-03-13 19:11:51 +03:00
{
"command": "codetour.deleteTour",
2020-03-14 22:31:16 +03:00
"when": "viewItem =~ /^codetour.tour(.recording)?(.active)?$/",
"group": "edit@2"
2020-03-13 22:08:10 +03:00
},
{
"command": "codetour.exportTour",
"when": "viewItem =~ /^codetour.tour(.active)?$/",
"group": "export@1"
},
2020-03-14 18:11:19 +03:00
{
"command": "codetour.moveTourStepBack",
2020-03-19 20:52:49 +03:00
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/ && codetour:recording",
2020-03-14 18:11:19 +03:00
"group": "inline@1"
},
{
"command": "codetour.moveTourStepForward",
2020-03-19 20:52:49 +03:00
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/ && codetour:recording",
2020-03-14 18:11:19 +03:00
"group": "inline@2"
},
{
"command": "codetour.moveTourStepBack",
2020-03-19 20:52:49 +03:00
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/ && codetour:recording",
2020-03-14 18:11:19 +03:00
"group": "basic@1"
},
{
"command": "codetour.moveTourStepForward",
2020-03-19 20:52:49 +03:00
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/ && codetour:recording",
2020-03-14 18:11:19 +03:00
"group": "basic@2"
},
2020-03-19 20:52:49 +03:00
{
"command": "codetour.editTourAtStep",
"when": "viewItem =~ /^codetour.tourStep/ && !codetour:recording",
"group": "manage@1"
},
2020-03-13 22:08:10 +03:00
{
"command": "codetour.deleteTourStep",
2020-03-14 22:31:16 +03:00
"when": "viewItem =~ /^codetour.tourStep/",
2020-03-19 20:52:49 +03:00
"group": "manage@2"
2020-03-08 17:06:53 +03:00
}
2020-03-07 21:37:16 +03:00
]
},
"views": {
"explorer": [
{
"id": "codetour.tours",
2020-03-14 18:12:48 +03:00
"name": "CodeTour"
2020-03-07 21:37:16 +03:00
}
]
2020-03-07 21:59:01 +03:00
},
"jsonValidation": [
{
"fileMatch": "(code)?tour.json",
2020-03-07 21:59:01 +03:00
"url": "https://cdn.jsdelivr.net/gh/vsls-contrib/code-tour/schema.json"
}
2020-03-08 21:25:39 +03:00
],
"keybindings": [
{
"command": "codetour.previousTourStep",
"when": "codetour:inTour && !textInputFocus && !terminalFocus",
"key": "ctrl+left",
"mac": "cmd+left"
},
{
"command": "codetour.nextTourStep",
"when": "codetour:inTour && !textInputFocus && !terminalFocus",
"key": "ctrl+right",
"mac": "cmd+right"
}
2020-03-07 21:59:01 +03:00
]
2020-03-07 21:37:16 +03:00
},
"dependencies": {
"mobx": "^5.14.2"
},
"devDependencies": {
"typescript": "^3.1.4",
"vscode": "^1.1.25",
"tslint": "^5.8.0",
"@types/node": "^8.10.25"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
}
}