-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
131 lines (131 loc) · 3.16 KB
/
package.json
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "docs-view",
"displayName": "Docs View",
"description": "Display documentation in the sidebar or panel.",
"version": "0.1.0",
"publisher": "bierner",
"keywords": [
"documentation",
"docs",
"hover",
"sidebar",
"panel"
],
"galleryBanner": {
"color": "4C4C4C",
"theme": "dark"
},
"icon": "icon.png",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/mattbierner/vscode-docs-view.git"
},
"bugs": "https://github.com/mattbierner/vscode-docs-view/issues",
"main": "./dist/extension",
"extensionKind": [
"ui",
"workspace"
],
"contributes": {
"views": {
"explorer": [
{
"type": "webview",
"id": "docsView.documentation",
"name": "Documentation",
"contextualTitle": "Documentation"
}
]
},
"commands": [
{
"command": "docsView.documentationView.pin",
"title": "Pin Current Documentation",
"icon": "$(pin)",
"category": "Docs View"
},
{
"command": "docsView.documentationView.unpin",
"title": "Unpin Current Documentation",
"icon": "$(pinned)",
"category": "Docs View"
}
],
"menus": {
"commandPalette": [
{
"command": "docsView.documentationView.pin",
"when": "!docsView.documentationView.isPinned"
},
{
"command": "docsView.documentationView.unpin",
"when": "docsView.documentationView.isPinned"
}
],
"view/title": [
{
"command": "docsView.documentationView.pin",
"when": "view == docsView.documentation && !docsView.documentationView.isPinned",
"group": "navigation"
},
{
"command": "docsView.documentationView.unpin",
"when": "view == docsView.documentation && docsView.documentationView.isPinned",
"group": "navigation"
}
]
},
"configuration": {
"title": "Docs View",
"properties": {
"docsView.documentationView.updateMode": {
"type": "string",
"description": "Controls how the documentation view is updated when the cursor moves.",
"default": "live",
"enum": [
"live",
"sticky"
],
"enumDescriptions": [
"The documentation view tracks the current cursor position. Display empty content if no documentation is found at the current position.",
"The documentation view tries to show the documentation at the current cursor position. If there is none, it continues showing the last available documentation."
]
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": " node -v",
"webpack-dev": "webpack --mode development --watch",
"lint": "eslint ./src/**/*.ts"
},
"dependencies": {
"dompurify": "^3.0.8",
"jsdom": "^23.2.0",
"json5": "^2.1.3",
"marked": "^11.1.0",
"oniguruma": "^7.2.1",
"shiki": "^0.14.7"
},
"devDependencies": {
"@types/dompurify": "^3.0.5",
"@types/jsdom": "^21.1.6",
"@types/json5": "0.0.30",
"@types/node": "^14.11.2",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"ts-loader": "^8.0.4",
"typescript": "^5.3.0",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.0"
}
}