-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
183 lines (183 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
{
"name": "does-it-throw-vscode",
"version": "0.5.0",
"main": "./client/out/extension.js",
"displayName": "Does It Throw?",
"description": "easily find throw statements in your JS, TS, and JSX files!",
"repository": {
"url": "https://github.com/michaelangeloio/does-it-throw"
},
"icon": "assets/icon-small.png",
"author": {
"name": "Michael Angelo",
"email": "[email protected]"
},
"categories": [
"Programming Languages",
"Linters",
"Debuggers"
],
"keywords": [
"does it throw",
"throw finder",
"throw",
"javascript",
"typescript",
"lsp",
"language server",
"exceptions",
"extension",
"exception finder"
],
"galleryBanner": {
"color": "#050b1f",
"theme": "dark"
},
"badges": [
{
"url": "https://github.com/michaelangeloio/does-it-throw/actions/workflows/rust.yaml/badge.svg",
"href": "https://github.com/michaelangeloio/does-it-throw",
"description": "Rust Build Status"
},
{
"url": "https://github.com/michaelangeloio/does-it-throw/actions/workflows/ts.yaml/badge.svg",
"href": "https://github.com/michaelangeloio/does-it-throw",
"description": "Node/Bun Build Status"
}
],
"qna": "https://github.com/michaelangeloio/does-it-throw/discussions",
"licenses": [
{
"type": "MIT",
"url": "https://github.com/michaelangeloio/does-it-throw/blob/main/LICENSE"
}
],
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@types/node": "^20.11.6",
"@vscode/vsce": "^2.22.0",
"bun-types": "^1.0.25",
"chokidar": "^3.5.3",
"esbuild": "^0.19.12",
"esbuild-plugin-copy": "^2.1.1",
"typescript": "5.3.3"
},
"activationEvents": [
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:javascript",
"onLanguage:javascriptreact"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"doesItThrow.throwStatementSeverity": {
"scope": "resource",
"type": "string",
"enum": [
"Error",
"Warning",
"Information",
"Hint"
],
"default": "Hint",
"description": "Controls the severity level of a throw statement."
},
"doesItThrow.functionThrowSeverity": {
"scope": "resource",
"type": "string",
"enum": [
"Error",
"Warning",
"Information",
"Hint"
],
"default": "Hint",
"description": "Controls the severity level of a function/const that throws."
},
"doesItThrow.callToThrowSeverity": {
"scope": "resource",
"type": "string",
"enum": [
"Error",
"Warning",
"Information",
"Hint"
],
"default": "Hint",
"description": "Controls the severity level of a function/const that calls a function that throws in the same file."
},
"doesItThrow.callToImportedThrowSeverity": {
"scope": "resource",
"type": "string",
"enum": [
"Error",
"Warning",
"Information",
"Hint"
],
"default": "Hint",
"description": "Controls the severity level of a function/const that calls a function that throws in a different file."
},
"doesItThrow.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"doesItThrow.includeTryStatementThrows": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Include throw statements inside try statements."
},
"doesItThrow.ignoreStatements": {
"scope": "resource",
"type": "array",
"items": {
"type": "string"
},
"default": [
"@it-throws",
"@does-it-throw-ignore"
],
"description": "Ignore throw statements with comments above that match these strings."
},
"doesItThrow.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Enable for debug mode. Traces the communication between VS Code and the language server."
}
}
}
},
"engines": {
"vscode": "^1.75.0"
},
"license": "MIT",
"publisher": "michaelangeloio",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "bun run build.ts",
"watch": "bun run build.ts --watch",
"build": "bun run build.ts",
"vscode:release": "vsce publish",
"vscode:package": "vsce package",
"format": "biome format .",
"pack:server": "npm pack --workspace server",
"publish:server": "npm publish --workspace server"
},
"types": "index.d.ts",
"workspaces": [
"client",
"server"
]
}