Files
vscode-extension-samples/notebook-variable-visualizer/package.json

59 lines
1.4 KiB
JSON
Raw Normal View History

{
"name": "notebook-variable-visualizer",
"displayName": "notebook-variable-visualizer",
"description": "show some info about a variable provided by the jupyter extension",
"version": "0.0.1",
"engines": {
"vscode": "^1.86.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:python"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "notebook-variable-visualizer.showVariableInfo",
"title": "Show Variable Info"
}
],
"menus": {
"commandPalette": [
{
"command": "notebook-variable-visualizer.showVariableInfo",
"when": "false"
}
],
"notebook/variables/context":[
{
"command": "notebook-variable-visualizer.showVariableInfo",
"when": "variableExtensionId === ms-toolsai.jupyter && variableType in notebook-variable-visualizer.supportedTypes"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.86.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"typescript": "^5.1.6",
"@vscode/test-electron": "^2.3.4"
}
}