-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
170 lines (169 loc) · 5.15 KB
/
Copy pathpackage.json
File metadata and controls
170 lines (169 loc) · 5.15 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "50ohm",
"displayName": "50ohm Editor",
"description": "Plugin to Edit 50ohm Contents",
"version": "0.1.0",
"engines": {
"vscode": "^1.108.1"
},
"repository": {
"type": "git",
"url": "https://github.com/DARC-e-V/50ohm-vscode.git"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"fiftyohm": [
{
"id": "bookTocView",
"name": "50ohm Books",
"icon": "media/50ohm.svg"
},
{
"id": "svgGalleryView",
"name": "Tools",
"icon": "media/50ohm.svg"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "fiftyohm",
"title": "50ohm",
"icon": "media/50ohm.svg"
}
]
},
"customEditors": [
{
"viewType": "50ohm.svgWhitePreview",
"displayName": "50Ohm SVG Preview (White Background)",
"selector": [
{
"filenamePattern": "*.svg"
}
],
"priority": "default"
},
{
"viewType": "50ohm.pngWhitePreview",
"displayName": "50Ohm PNG Preview",
"selector": [
{
"filenamePattern": "*.png"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "50ohm.openUri",
"title": "50ohm: Open URI"
},
{
"command": "50ohm.openSvgWhitePreview",
"title": "50ohm: Open SVG (White Preview)"
},
{
"command": "50ohm.openPhotoGallery",
"title": "50ohm: Open Photo Gallery"
},
{
"command": "50ohm.openPngWhitePreview",
"title": "50ohm: Open PNG Preview"
},
{
"command": "50ohm.openQuestionSearch",
"title": "50ohm: Question Search"
},
{
"command": "50ohm.openRenderedHtml",
"title": "50ohm: Open Rendered HTML (Browser)"
},
{
"command": "50ohm.openRenderedHtmlVsCode",
"title": "50ohm: Open Rendered HTML (VSCode)"
},
{
"command": "50ohm.runContentBuild",
"title": "Run Content Build (main.py)"
}
],
"grammars": [
{
"scopeName": "darcdown.injection",
"path": "./syntaxes/darcdown.injection.tmLanguage.json",
"injectTo": [
"text.html.markdown"
]
}
],
"configuration": {
"title": "50ohm",
"properties": {
"50ohm.buildRepoPath": {
"type": "string",
"default": "",
"description": "Absolute path to the build repo root. The extension will open HTML files from ${buildRepoPath}/build/<BOOK>_<IDENT>.html"
},
"50ohm.defaultBookIdent": {
"type": "string",
"default": "",
"description": "Book prefix used for rendered HTML files (e.g. NEA)."
}
}
},
"menus": {
"explorer/context": [
{
"command": "50ohm.openRenderedHtml",
"when": "resourceExtname == .md",
"group": "navigation"
},
{
"command": "50ohm.openRenderedHtmlVsCode",
"when": "resourceExtname == .md",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "50ohm.openRenderedHtml",
"when": "view == bookTocView",
"group": "navigation"
},
{
"command": "50ohm.openRenderedHtmlVsCode",
"when": "view == bookTocView",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.108.1",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.39.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
}
}