-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
209 lines (209 loc) · 7.34 KB
/
package.json
File metadata and controls
209 lines (209 loc) · 7.34 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{
"name": "reqstool",
"displayName": "reqstool",
"description": "Requirements traceability for source code via reqstool LSP — hover, completion, diagnostics, go-to-definition",
"version": "0.1.0",
"reqstoolVersion": "",
"publisher": "reqstool",
"author": "reqstool",
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/reqstool/reqstool-vscode"
},
"engines": {
"vscode": "^1.115.0"
},
"categories": [
"Linters",
"Snippets",
"Other",
"Testing"
],
"activationEvents": [
"workspaceContains:**/requirements.yml",
"onView:reqstool.detailsView",
"onView:reqstool.outlineView"
],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run bundle",
"bundle": "esbuild src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --minify",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"test-with-report": "vscode-test",
"test:ui": "extest setup-and-run './out/test/ui/*.test.js' --open_resource src/test/fixtures/test.code-workspace",
"clean": "rimraf out",
"build": "rimraf out && vsce package"
},
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "reqstool",
"title": "reqstool",
"icon": "media/reqstool.svg"
}
]
},
"views": {
"reqstool": [
{
"id": "reqstool.outlineView",
"name": "Outline"
},
{
"type": "webview",
"id": "reqstool.detailsView",
"name": "Details"
}
]
},
"viewsWelcome": [
{
"view": "reqstool.detailsView",
"contents": "No item selected.\n\nHover over a requirement, SVC, or MVR ID and click **Open Details**."
}
],
"commands": [
{
"command": "reqstool.refresh",
"title": "reqstool: Refresh",
"category": "reqstool"
},
{
"command": "reqstool.openDetails",
"title": "reqstool: Open Details"
},
{
"command": "reqstool.outline.scopeProject",
"title": "Show whole project",
"icon": "$(folder)"
},
{
"command": "reqstool.outline.scopeFile",
"title": "Show current file",
"icon": "$(file-code)"
}
],
"menus": {
"commandPalette": [
{
"command": "reqstool.openDetails",
"when": "false"
},
{
"command": "reqstool.outline.scopeProject",
"when": "false"
},
{
"command": "reqstool.outline.scopeFile",
"when": "false"
}
],
"view/title": [
{
"command": "reqstool.outline.scopeProject",
"when": "view == reqstool.outlineView && reqstool.outlineScope == 'file'",
"group": "navigation"
},
{
"command": "reqstool.outline.scopeFile",
"when": "view == reqstool.outlineView && reqstool.outlineScope == 'project'",
"group": "navigation"
}
]
},
"configuration": {
"title": "reqstool",
"properties": {
"reqstool.serverCommand": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"reqstool",
"lsp"
],
"description": "Command to start the reqstool LSP server. First element is the executable, rest are arguments. Examples: [\"reqstool\", \"lsp\"], [\"python\", \"-m\", \"reqstool.lsp\", \"lsp\"], [\"pipx\", \"run\", \"reqstool\", \"lsp\", \"--log-level\", \"debug\"]."
},
"reqstool.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Trace LSP communication."
},
"reqstool.startupTimeout": {
"type": "number",
"default": 5000,
"minimum": 1000,
"description": "Milliseconds to wait when checking if reqstool is installed."
},
"reqstool.symbolLookupDelay": {
"type": "number",
"default": 500,
"minimum": 0,
"description": "Milliseconds to wait after opening a file before querying document symbols."
},
"reqstool.fileWatchPattern": {
"type": "string",
"default": "**/{requirements,software_verification_cases,manual_verification_results,reqstool_config}.yml",
"description": "Glob pattern for reqstool YAML files to watch for changes."
},
"reqstool.languages": {
"type": "array",
"items": {
"type": "string",
"enum": [
"python",
"java",
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"yaml"
]
},
"uniqueItems": true,
"default": [
"python",
"java",
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"yaml"
],
"description": "Language IDs for which the reqstool LSP client is active."
}
}
}
},
"dependencies": {
"vscode-languageclient": "9.0.1"
},
"devDependencies": {
"@types/mocha": "10.0.10",
"@types/node": "25.6.0",
"@types/vscode": "1.115.0",
"@typescript-eslint/eslint-plugin": "8.58.2",
"@typescript-eslint/parser": "8.58.2",
"@vscode/test-cli": "0.0.12",
"@vscode/test-electron": "2.5.2",
"@vscode/vsce": "3.9.0",
"esbuild": "^0.28.0",
"eslint": "10.2.0",
"mocha-junit-reporter": "2.2.1",
"rimraf": "6.1.3",
"typescript": "6.0.3",
"vscode-extension-tester": "8.23.0"
}
}