-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.32 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "toggle-docstrings",
"displayName": "Toggle Docstrings",
"description": "A simple extension/toggle docstrings (Primarily for Python/Jupyter)",
"version": "0.0.5",
"engines": {
"vscode": "^1.70.0"
},
"icon": "images/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/Vikasdubey0551/toggle-docstrings.git"
},
"publisher": "vikasdubey055",
"categories": [
"Programming Languages", "Notebooks"
],
"keywords": [
"Docstrings", "Notebooks","Python", "Jupyter"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"menus": {
"editor/title": [
{
"when": "editorIsOpen && isWorkspaceTrusted && isFileSystemResource && !isFoldActive && isPythonFile",
"command": "toggle-docstrings.hideDocstrings",
"group": "navigation"
},
{
"when": "editorIsOpen && isWorkspaceTrusted && isFileSystemResource && isFoldActive && isPythonFile",
"command": "toggle-docstrings.showDocstrings",
"group": "navigation"
}
]
},
"commands": [
{
"command": "toggle-docstrings.hideDocstrings",
"title": "Toggle Docstrings: Hide Docstrings",
"icon": "$(eye)"
},
{
"command": "toggle-docstrings.showDocstrings",
"title": "Toggle Docstrings: Show Docstrings",
"icon": "$(eye-closed)"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.70.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^5.1.3",
"ts-loader": "^9.4.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1",
"@vscode/test-electron": "^2.3.2"
}
}