codetour/package.json

597 строки
17 KiB
JSON

{
"name": "codetour",
"displayName": "CodeTour",
"description": "VS Code extension that allows you to record and playback guided tours of codebases, directly within the editor",
"publisher": "vsls-contrib",
"version": "0.0.35",
"repository": {
"type": "git",
"url": "https://github.com/vsls-contrib/codetour"
},
"bugs": {
"url": "https://github.com/vsls-contrib/codetour/issues"
},
"homepage": "https://github.com/vsls-contrib/codetour#readme",
"license": "ISC",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.40.0"
},
"categories": [
"Other"
],
"keywords": [
"Collaboration",
"Sharing"
],
"extensionKind": [
"workspace"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "CodeTour",
"properties": {
"codetour.showMarkers": {
"type": "boolean",
"default": true,
"description": "Specifies whether or not to show tour markers in the editor gutter."
}
}
},
"commands": [
{
"command": "codetour.addContentStep",
"title": "Add Tour Step",
"category": "CodeTour"
},
{
"command": "codetour.addDirectoryStep",
"title": "Add CodeTour Step"
},
{
"command": "codetour.addSelectionStep",
"title": "Add CodeTour Step"
},
{
"command": "codetour.addTourStep",
"title": "Add Step to Tour",
"enablement": "!commentIsEmpty"
},
{
"command": "codetour.changeTourDescription",
"title": "Change Description"
},
{
"command": "codetour.changeTourRef",
"title": "Change Git Ref"
},
{
"command": "codetour.changeTourStepLine",
"title": "Change Line"
},
{
"command": "codetour.changeTourStepTitle",
"title": "Change Title"
},
{
"command": "codetour.changeTourTitle",
"title": "Change Title"
},
{
"command": "codetour.deleteTourStep",
"title": "Delete Step"
},
{
"command": "codetour.deleteTour",
"title": "Delete Tour"
},
{
"command": "codetour.editTourAtStep",
"title": "Edit Step"
},
{
"command": "codetour.editTour",
"title": "Edit Tour",
"category": "CodeTour",
"icon": "$(edit)"
},
{
"command": "codetour.endTour",
"title": "End Tour",
"category": "CodeTour",
"icon": "$(debug-stop)"
},
{
"command": "codetour.exportTour",
"title": "Export Tour..."
},
{
"command": "codetour.hideMarkers",
"title": "Hide Tour Markers",
"category": "CodeTour",
"icon": "$(eye-closed)"
},
{
"command": "codetour.makeTourPrimary",
"title": "Make Primary"
},
{
"command": "codetour.moveTourStepForward",
"title": "Move Down",
"icon": "$(arrow-down)"
},
{
"command": "codetour.moveTourStepBack",
"title": "Move Up",
"icon": "$(arrow-up)"
},
{
"command": "codetour.nextTourStep",
"title": "Next",
"icon": "$(arrow-right)"
},
{
"command": "codetour.openTourFile",
"title": "Open Tour File...",
"icon": "$(folder-opened)",
"category": "CodeTour"
},
{
"command": "codetour.openTourUrl",
"title": "Open Tour URL...",
"category": "CodeTour"
},
{
"command": "codetour.previewTour",
"title": "Preview Tour",
"icon": "$(preview)"
},
{
"command": "codetour.previousTourStep",
"title": "Previous",
"icon": "$(arrow-left)"
},
{
"command": "codetour.recordTour",
"title": "Record Tour",
"category": "CodeTour",
"icon": "$(add)"
},
{
"command": "codetour.resumeTour",
"title": "Resume Tour",
"category": "CodeTour"
},
{
"command": "codetour.saveTourStep",
"title": "Save Step",
"enablement": "!commentIsEmpty"
},
{
"command": "codetour.showMarkers",
"title": "Show Tour Markers",
"category": "CodeTour",
"icon": "$(eye)"
},
{
"command": "codetour.startTour",
"title": "Start Tour",
"category": "CodeTour",
"icon": "$(debug-start)"
},
{
"command": "codetour.unmakeTourPrimary",
"title": "Unmake Primary"
},
{
"command": "codetour.viewNotebook",
"title": "View Notebook",
"category": "CodeTour"
}
],
"menus": {
"commandPalette": [
{
"command": "codetour.addContentStep",
"when": "codetour:inTour && codetour:recording && codetour:canEditTour"
},
{
"command": "codetour.editTour",
"when": "codetour:inTour && !codetour:recording && codetour:canEditTour"
},
{
"command": "codetour.endTour",
"when": "codetour:inTour"
},
{
"command": "codetour.hideMarkers",
"when": "codetour:hasTours && codetour:showingMarkers"
},
{
"command": "codetour.previewTour",
"when": "codetour:inTour && codetour:recording"
},
{
"command": "codetour.recordTour",
"when": "workspaceFolderCount != 0"
},
{
"command": "codetour.resumeTour",
"when": "codetour:inTour"
},
{
"command": "codetour.showMarkers",
"when": "codetour:hasTours && !codetour:showingMarkers"
},
{
"command": "codetour.startTour",
"when": "codetour:hasTours"
},
{
"command": "codetour.addDirectoryStep",
"when": "false"
},
{
"command": "codetour.addSelectionStep",
"when": "false"
},
{
"command": "codetour.addTourStep",
"when": "false"
},
{
"command": "codetour.changeTourRef",
"when": "false"
},
{
"command": "codetour.changeTourStepLine",
"when": "false"
},
{
"command": "codetour.changeTourStepTitle",
"when": "false"
},
{
"command": "codetour.changeTourTitle",
"when": "false"
},
{
"command": "codetour.changeTourDescription",
"when": "false"
},
{
"command": "codetour.deleteTour",
"when": "false"
},
{
"command": "codetour.deleteTourStep",
"when": "false"
},
{
"command": "codetour.editTourAtStep",
"when": "false"
},
{
"command": "codetour.exportTour",
"when": "false"
},
{
"command": "codetour.makeTourPrimary",
"when": "false"
},
{
"command": "codetour.nextTourStep",
"when": "false"
},
{
"command": "codetour.previewTour",
"when": "false"
},
{
"command": "codetour.previousTourStep",
"when": "false"
},
{
"command": "codetour.saveTourStep",
"when": "false"
},
{
"command": "codetour.unmakeTourPrimary",
"when": "false"
},
{
"command": "codetour.viewNotebook",
"when": "false"
}
],
"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/"
},
{
"command": "codetour.endTour",
"group": "inline@3",
"when": "commentController == codetour"
},
{
"command": "codetour.editTour",
"group": "inline@4",
"when": "commentController == codetour && !codetour:recording && codetour:canEditTour"
},
{
"command": "codetour.previewTour",
"group": "inline@4",
"when": "commentController == codetour && codetour:recording && !commentThreadIsEmpty"
}
],
"comments/commentThread/context": [
{
"command": "codetour.addTourStep",
"group": "inline",
"when": "commentController == codetour && commentThreadIsEmpty"
}
],
"comments/comment/title": [
{
"command": "codetour.moveTourStepBack",
"group": "move@1",
"when": "commentController == codetour && codetour:canEditTour && commentThread =~ /hasPrevious/"
},
{
"command": "codetour.moveTourStepForward",
"group": "move@2",
"when": "commentController == codetour && codetour:canEditTour commentThread =~ /hasNext/"
},
{
"command": "codetour.changeTourStepLine",
"group": "mutate@1",
"when": "commentController == codetour && codetour:canEditTour"
},
{
"command": "codetour.deleteTourStep",
"group": "mutate@2",
"when": "commentController == codetour && codetour:canEditTour"
}
],
"comments/comment/context": [
{
"command": "codetour.saveTourStep",
"group": "inline@2",
"when": "commentController == codetour && codetour:recording"
}
],
"view/title": [
{
"command": "codetour.hideMarkers",
"when": "view == codetour.tours && codetour:showingMarkers",
"group": "navigation@1"
},
{
"command": "codetour.showMarkers",
"when": "view == codetour.tours && !codetour:showingMarkers",
"group": "navigation@1"
},
{
"command": "codetour.openTourFile",
"when": "view == codetour.tours",
"group": "navigation@2"
},
{
"command": "codetour.recordTour",
"when": "view == codetour.tours",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "codetour.endTour",
"when": "viewItem =~ /^codetour.tour(.recording)?.active/",
"group": "inline@1"
},
{
"command": "codetour.startTour",
"when": "viewItem =~ /^codetour.tour(.primary)?$/",
"group": "inline@1"
},
{
"command": "codetour.resumeTour",
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?.active$/",
"group": "active@1"
},
{
"command": "codetour.endTour",
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?.active$/",
"group": "active@2"
},
{
"command": "codetour.startTour",
"when": "viewItem =~ /^codetour.tour(.primary)?$/",
"group": "basic@1"
},
{
"command": "codetour.addContentStep",
"when": "viewItem =~ /^codetour.tour(.primary)?.recording/",
"group": "basic@1"
},
{
"command": "codetour.makeTourPrimary",
"when": "viewItem =~ /^codetour.tour(.recording)?(.active)?$/",
"group": "basic@2"
},
{
"command": "codetour.unmakeTourPrimary",
"when": "viewItem =~ /^codetour.tour.primary(.recording)?(.active)?$/",
"group": "basic@2"
},
{
"command": "codetour.changeTourTitle",
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
"group": "change@1"
},
{
"command": "codetour.changeTourDescription",
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
"group": "change@2"
},
{
"command": "codetour.changeTourRef",
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/ && gitOpenRepositoryCount != 0",
"group": "change@3"
},
{
"command": "codetour.editTour",
"when": "viewItem =~ /^codetour.tour(.primary)?(.active)?$/",
"group": "edit@1"
},
{
"command": "codetour.previewTour",
"when": "viewItem =~ /^codetour.tour(.primary)?.recording/",
"group": "edit@1"
},
{
"command": "codetour.deleteTour",
"when": "viewItem =~ /^codetour.tour(.primary)?(.recording)?(.active)?$/",
"group": "edit@2"
},
{
"command": "codetour.exportTour",
"when": "viewItem =~ /^codetour.tour(.primary)?(.active)?$/",
"group": "export@1"
},
{
"command": "codetour.moveTourStepBack",
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/",
"group": "inline@1"
},
{
"command": "codetour.moveTourStepForward",
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/",
"group": "inline@2"
},
{
"command": "codetour.moveTourStepBack",
"when": "viewItem =~ /^codetour.tourStep.hasPrevious/",
"group": "basic@1"
},
{
"command": "codetour.moveTourStepForward",
"when": "viewItem =~ /codetour.tourStep.*(.hasNext)/",
"group": "basic@2"
},
{
"command": "codetour.changeTourStepTitle",
"when": "viewItem =~ /^codetour.tourStep/",
"group": "change@1"
},
{
"command": "codetour.editTourAtStep",
"when": "viewItem =~ /^codetour.tourStep/ && !codetour:recording",
"group": "manage@1"
},
{
"command": "codetour.deleteTourStep",
"when": "viewItem =~ /^codetour.tourStep/",
"group": "manage@2"
}
],
"explorer/context": [
{
"command": "codetour.addDirectoryStep",
"when": "codetour:recording && explorerResourceIsFolder"
}
],
"editor/context": [
{
"command": "codetour.addSelectionStep",
"when": "codetour:recording && editorHasSelection",
"group": "codetour@1"
}
]
},
"views": {
"explorer": [
{
"id": "codetour.tours",
"name": "CodeTour",
"when": "workspaceFolderCount != 0 || codetour:inTour"
}
]
},
"viewsWelcome": [
{
"view": "codetour.tours",
"contents": "In order to create a guided walkthrough, you can begin recording a tour for the currently opened workspace ([Learn More](https://github.com/vsls-contrib/codetour#recording-tours)).\n\n[Record Tour](command:codetour.recordTour)\n\nYou can also open tours that were shared with you by others ([Learn More](https://github.com/vsls-contrib/codetour#opening-tours)).\n\n[Open Tour File](command:codetour.openTourFile)\n\n[Open Tour URL](command:codetour.openTourUrl)"
}
],
"jsonValidation": [
{
"fileMatch": "*.tour",
"url": "https://cdn.jsdelivr.net/gh/vsls-contrib/code-tour/schema.json"
}
],
"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"
}
],
"languages": [
{
"id": "json",
"extensions": [
".tour"
]
}
]
},
"dependencies": {
"axios": "^0.19.2",
"mobx": "^5.14.2",
"vsls": "^1.0.2532"
},
"devDependencies": {
"@types/node": "^8.10.25",
"ts-loader": "^7.0.4",
"tslint": "^5.8.0",
"typescript": "^3.1.4",
"vsce": "^1.75.0",
"vscode": "^1.1.25",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-merge": "^4.2.2"
},
"scripts": {
"build": "webpack --config webpack.config.js",
"build:web": "webpack --config webpack.web.js",
"vscode:prepublish": "npm run build",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"package": "vsce package"
},
"prettier": {
"arrowParens": "avoid",
"trailingComma": "none"
}
}