codetour/package.json

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

2020-03-07 21:37:16 +03:00
{
"name": "codetour",
"displayName": "Code Tour",
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",
2020-03-09 19:53:57 +03:00
"version": "0.0.5",
2020-03-07 21:37:16 +03:00
"repository": {
"type": "git",
"url": "https://github.com/vsls-contrib/code-tour"
},
"bugs": {
"url": "https://github.com/vsls-contrib/code-tour/issues"
},
"homepage": "https://github.com/vsls-contrib/code-tour#readme",
"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"
},
{
"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-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",
"icon": "$(close)"
2020-03-07 21:37:16 +03:00
},
{
"command": "codetour.nextTourStep",
"title": "Next",
"icon": "$(arrow-right)"
},
{
"command": "codetour.previousTourStep",
"title": "Previous",
"icon": "$(arrow-left)"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.recordTour",
"title": "Record Tour",
"category": "Code Tour",
"icon": "$(add)"
},
2020-03-07 23:01:36 +03:00
{
"command": "codetour.refreshTours",
"title": "Refresh Tours",
"category": "Code Tour"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.resumeTour",
"title": "Resume Current Tour",
"category": "Code Tour"
2020-03-07 21:37:16 +03:00
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.saveTour",
"title": "Save Tour",
"category": "Code Tour",
"icon": "$(save)",
"enablement": "!commentThreadIsEmpty"
},
{
"command": "codetour.saveTourStep",
"title": "Save Step"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.startTour",
"title": "Start Tour",
"category": "Code Tour",
2020-03-08 17:06:53 +03:00
"icon": "$(play)"
2020-03-07 21:37:16 +03:00
}
],
"menus": {
"commandPalette": [
{
"command": "codetour.resumeTour",
"when": "codetour:inTour"
},
2020-03-08 05:20:04 +03:00
{
"command": "codetour.saveTour",
"when": "codetour:recording"
},
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-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"
},
{
"command": "codetour.editTourStep",
"when": "false"
},
2020-03-07 21:37:16 +03:00
{
"command": "codetour.endTour",
2020-03-07 21:37:16 +03:00
"when": "false"
},
{
"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-08 05:20:04 +03:00
"command": "codetour.saveTour",
2020-03-07 21:37:16 +03:00
"group": "inline@3",
2020-03-08 05:20:04 +03:00
"when": "commentController == codetour && codetour:recording"
},
{
"command": "codetour.endTour",
"group": "inline@4",
2020-03-07 21:37:16 +03:00
"when": "commentController == codetour"
}
2020-03-08 05:20:04 +03:00
],
"comments/commentThread/context": [
{
"command": "codetour.addTourStep",
"group": "inline",
"when": "commentController == codetour && commentThreadIsEmpty"
}
],
"comments/comment/title": [
{
"command": "codetour.editTourStep",
"group": "group@1",
"when": "commentController == codetour && codetour:recording"
},
{
"command": "codetour.deleteTourStep",
"group": "group@2",
"when": "commentController == codetour && codetour:recording"
}
],
"comments/comment/context": [
{
"command": "codetour.saveTourStep",
"group": "inline@2",
"when": "commentController == codetour && codetour:recording"
}
],
"view/title": [
{
"command": "codetour.recordTour",
"when": "view == codetour.tours",
"group": "navigation"
}
2020-03-08 17:06:53 +03:00
],
"view/item/context": [
2020-03-09 19:01:17 +03:00
{
"command": "codetour.saveTour",
"when": "viewItem =~ /codetour.tour.recording/",
"group": "inline@1"
},
{
"command": "codetour.endTour",
"when": "viewItem =~ /codetour.tour(.recording)?.active/",
"group": "inline@2"
},
2020-03-08 17:06:53 +03:00
{
"command": "codetour.startTour",
"when": "viewItem == codetour.tour",
2020-03-09 19:01:17 +03:00
"group": "inline@3"
2020-03-13 19:11:51 +03:00
},
{
"command": "codetour.changeTourTitle",
"when": "viewItem == codetour.tour",
"group": "basic@1"
},
{
"command": "codetour.changeTourDescription",
"when": "viewItem == codetour.tour",
"group": "basic@2"
},
{
"command": "codetour.deleteTour",
"when": "viewItem == codetour.tour",
"group": "manage@1"
2020-03-08 17:06:53 +03:00
}
2020-03-07 21:37:16 +03:00
]
},
"views": {
"explorer": [
{
"id": "codetour.tours",
2020-03-08 21:25:39 +03:00
"name": "Code Tours"
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"
}
}