-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 4.32 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
{
"name": "dcmfx",
"displayName": "dcmfx",
"description": "View, convert, and rewrite DICOM and DICOM JSON files",
"version": "0.0.0",
"publisher": "dcmfx",
"engines": {
"vscode": "^1.90.0"
},
"license": "AGPL-3.0-only",
"homepage": "https://dcmfx.github.com/",
"repository": {
"type": "git",
"url": "https://github.com/dcmfx/dcmfx-vscode"
},
"bugs": {
"url": "https://github.com/dcmfx/dcmfx-vscode/issues"
},
"categories": [
"Other"
],
"icon": "icon.png",
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"configuration": [
{
"type": "object",
"properties": {
"dcmfx.alwaysShowContextMenuItems": {
"description": "Always show the DCMfx context menu items regardless of the file's extension.",
"type": "boolean",
"default": false
},
"dcmfx.dicomJsonPrettyPrint": {
"description": "Whether to pretty print DICOM JSON output with whitespace and newlines.",
"type": "boolean",
"default": true
}
}
}
],
"commands": [
{
"command": "dcmfx.print",
"title": "DCMfx: Print data set"
},
{
"command": "dcmfx.printJson",
"title": "DCMfx: Print data set as JSON"
},
{
"command": "dcmfx.rewriteP10",
"title": "DCMfx: Rewrite DICOM"
},
{
"command": "dcmfx.convertJsonToP10",
"title": "DCMfx: Convert to DICOM"
},
{
"command": "dcmfx.extractPixelData",
"title": "DCMfx: Extract pixel data"
}
],
"menus": {
"explorer/context": [
{
"command": "dcmfx.print",
"group": "dcmfx",
"when": "resourceLangId == dicom || resourceLangId == json || config.dcmfx.alwaysShowContextMenuItems"
},
{
"command": "dcmfx.printJson",
"group": "dcmfx",
"when": "resourceLangId == dicom || config.dcmfx.alwaysShowContextMenuItems"
},
{
"command": "dcmfx.rewriteP10",
"group": "dcmfx",
"when": "resourceLangId == dicom || config.dcmfx.alwaysShowContextMenuItems"
},
{
"command": "dcmfx.convertJsonToP10",
"group": "dcmfx",
"when": "resourceLangId == json || config.dcmfx.alwaysShowContextMenuItems"
},
{
"command": "dcmfx.extractPixelData",
"group": "dcmfx",
"when": "resourceLangId == dicom || resourceLangId == json || config.dcmfx.alwaysShowContextMenuItems"
}
]
},
"languages": [
{
"id": "dicom",
"extensions": [
".dcm",
".dicom"
],
"aliases": [
"DICOM",
"dcm"
]
},
{
"id": "dcmfx-print",
"extensions": [
".dcmfx-print"
],
"aliases": [
"DCMfx Print"
]
}
],
"grammars": [
{
"language": "dcmfx-print",
"scopeName": "text.dcmfx-print",
"path": "./syntaxes/dcmfx-print.tmLanguage.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run format:check && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile",
"check-types": "tsc --noEmit",
"test": "vscode-test",
"format": "prettier --write 'src/**/*.mts'",
"format:check": "prettier --check 'src/**/*.mts'",
"lint": "eslint 'src/**/*.mts'"
},
"dependencies": {
"effect": "^3.12.7"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.16",
"@types/vscode": "~1.90.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.24.2",
"eslint": "^9.19.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"semantic-release-vsce": "^6.0.6",
"typescript": "~5.7.3",
"typescript-eslint": "^8.23.0"
}
}