-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 3.79 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
{
"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"
}
}
}
],
"commands": [
{
"command": "dcmfx.print",
"title": "DCMfx: Print DICOM data set"
},
{
"command": "dcmfx.printJson",
"title": "DCMfx: Print DICOM data set as JSON"
},
{
"command": "dcmfx.rewriteP10",
"title": "DCMfx: Rewrite DICOM file"
},
{
"command": "dcmfx.convertJsonToP10",
"title": "DCMfx: Convert to DICOM file"
}
],
"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"
}
]
},
"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.10.6"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/mocha": "^10.0.9",
"@types/node": "^20.17.3",
"@types/vscode": "~1.90.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.24.0",
"eslint": "^9.13.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"semantic-release-vsce": "^5.7.4",
"typescript": "~5.6.3",
"typescript-eslint": "^8.12.2"
}
}