-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
186 lines (186 loc) · 5.13 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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "vscode-dicom",
"displayName": "DICOM Tag Dump",
"description": "Shows the list of DICOM tags in the editor.",
"icon": "icon.png",
"version": "1.4.0",
"publisher": "smikitky",
"engines": {
"vscode": "^1.46.0"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/smikitky/vscode-dicom-dump"
},
"bugs": {
"url": "https://github.com/smikitky/vscode-dicom-dump/issues"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:dicom",
"*"
],
"main": "./out/extension",
"contributes": {
"configuration": [
{
"type": "object",
"properties": {
"dicom.alwaysShowMenu": {
"description": "When true, shows the DICOM dump menus regardless of the file extension.",
"type": "boolean"
},
"dicom.searches": {
"description": "Provides a link to your favorite DICOM search engine with the tag name.",
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Link text. Keywords {GGGG}, {gggg}, {EEEE}, {eeee} will be replaced."
},
"url": {
"type": "string",
"description": "Link URL. Keywords {GGGG}, {gggg}, {EEEE}, {eeee} will be replaced."
}
},
"required": [
"title",
"url"
]
}
},
"dicom.showPrivateTags": {
"description": "Controls the visibility of DICOM private tags. Private tags without specific value representation may not render properly.",
"type": "boolean"
},
"dicom.dictionary": {
"description": "The list of known DICOM tags that will be used along with standard tags. Each key must be an 8-digit uppercase hex string representing the DICOM group/element.",
"type": "object",
"patternProperties": {
"^[0-9A-F]{8}$": {
"type": "object",
"properties": {
"vr": {
"description": "Value representation name, such as 'SL'.",
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"name": {
"description": "Element name (camelCase recommended).",
"type": "string"
},
"forceVr": {
"description": "Force this VR type for this element. Use with care.",
"type": "boolean"
}
},
"required": [
"vr",
"name"
]
}
},
"additionalProperties": false
}
}
}
],
"commands": [
{
"command": "dicom.showTags",
"title": "DICOM: Dump DICOM tags"
},
{
"command": "dicom.dumpAsJson",
"title": "DICOM: Dump DICOM tags as JSON"
}
],
"menus": {
"explorer/context": [
{
"command": "dicom.showTags",
"group": "dicom",
"when": "resourceLangId == dicom || config.dicom.alwaysShowMenu"
},
{
"command": "dicom.dumpAsJson",
"group": "dicom",
"when": "resourceLangId == dicom || config.dicom.alwaysShowMenu"
}
]
},
"languages": [
{
"id": "dicom",
"extensions": [
".dcm",
".dicom"
],
"aliases": [
"DICOM",
"dcm"
]
},
{
"id": "dicom-dump",
"extensions": [
".dcmdump"
],
"aliases": [
"DICOM dump"
]
}
],
"grammars": [
{
"language": "dicom-dump",
"scopeName": "text.dicom-dump",
"path": "./syntaxes/dicom-dump.tmLanguage.json"
}
]
},
"scripts": {
"vscode:prepublish": "rimraf out && webpack --mode production",
"compile": "webpack --mode development",
"lint": "eslint \"src/**/*.ts\"",
"watch": "webpack --mode development",
"test": "tsc -p ./ && mocha --ui tdd out/test/encConverter.test.js"
},
"devDependencies": {
"@types/glob": "^7.1.2",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.13",
"@types/pify": "^3.0.2",
"@types/qs": "^6.9.3",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.3.0",
"glob": "^7.1.6",
"mocha": "^8.0.1",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-loader": "^7.0.5",
"typescript": "^3.9.5",
"vscode-test": "^1.4.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "none"
},
"dependencies": {
"dicom-data-dictionary": "^0.3.1",
"dicom-parser": "^1.8.5",
"iconv-lite": "^0.6.0",
"jconv": "^0.1.5",
"qs": "^6.9.4"
}
}