-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
190 lines (190 loc) · 5.31 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
187
188
189
190
{
"name": "httpbook",
"displayName": "httpBook - Rest Client",
"description": "Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code",
"version": "3.2.5",
"publisher": "anweber",
"homepage": "https://github.com/AnWeber/httpbook",
"repository": {
"type": "git",
"url": "https://github.com/AnWeber/httpbook"
},
"bugs": {
"url": "https://github.com/AnWeber/httpbook/issues"
},
"qna": "https://github.com/AnWeber/httpbook/discussions",
"engines": {
"vscode": "^1.71.0",
"node": ">=14.16"
},
"categories": [
"Notebooks"
],
"keywords": [
"HTTP",
"REST",
"GraphQL",
"gRPC",
"WebSocket",
"RabbitMQ",
"AMQP",
"EventSource",
"MQTT",
"Intellij Http Client",
"Postman",
"Soap",
"rest-client"
],
"icon": "icon.png",
"activationEvents": [
"onNotebook:http",
"onLanguage:http"
],
"main": "./dist/extension.js",
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": false,
"description": "untrusted workspace are not supported, because project files are executed using javascript"
}
},
"contributes": {
"notebooks": [
{
"id": "httpbook",
"type": "http",
"displayName": "HttpBook",
"selector": [
{
"filenamePattern": "*.http"
}
]
}
],
"notebookRenderer": [
{
"id": "httpbook-testresults",
"entrypoint": "./dist/testResultsRenderer.js",
"displayName": "Httpbook TestResults",
"mimeTypes": [
"x-application/httpbook-testresults"
]
},
{
"id": "httpbook-rfc7230",
"entrypoint": "./dist/rfc7230Renderer.js",
"displayName": "Httpbook RFC7230",
"mimeTypes": [
"message/http"
]
}
],
"configuration": {
"type": "object",
"title": "httpbook",
"properties": {
"httpbook.outputTests": {
"type": "string",
"enum": [
"always",
"onlyFailed",
"never"
],
"default": "always",
"scope": "window",
"description": "are outputs of tests visible"
},
"httpbook.outputRfc7230": {
"type": "string",
"enum": [
"request_and_response",
"request_header_and_response",
"response",
"only_header",
"only_response_header"
],
"default": "request_and_response",
"scope": "window",
"description": "are outputs of rfc7230 visible"
},
"httpbook.outputAllResponses": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "output all responses (@ref and @forceRef included)"
},
"httpbook.preferNotebookOutputRenderer": {
"type": "object",
"default": {
"image/png": "image/png",
"image/jpeg": "image/jpeg",
"image/svg+xml": "image/svg+xml"
},
"scope": "resource",
"description": "prefer NotebookOutputRenderer for mimeType (regex is possible)"
},
"httpbook.mapContentTypeToNotebookOutputRendererMime": {
"type": "object",
"scope": "resource",
"description": "map content type to NotebookOutputRenderer (regex is possible)"
},
"httpbook.saveWithOutputs": {
"type": "boolean",
"default": true,
"scope": "resource",
"description": "add outputs to http file"
}
}
}
},
"extensionDependencies": [
"anweber.vscode-httpyac"
],
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts?(x)": [
"eslint --cache --fix",
"prettier --parser=typescript --write"
]
},
"scripts": {
"build": "npm run esbuild -- --minify",
"esbuild": "node ./buildSrc/esbuild.mjs",
"eslint": "eslint src --ext ts --ext tsx",
"format": "prettier --write --parser typescript \"src/**/*.ts?(x)\"",
"lint": "npm run format && npm run eslint && npm run lockfile-lint && npm run tsc-lint",
"lockfile-lint": "lockfile-lint --path package-lock.json --validate-https --allowed-hosts npm --validate-checksum --validate-integrity",
"package": "npx vsce package",
"precommit": "npm run lint",
"prepare": "husky install",
"start": "npm run watch",
"tsc-lint": "tsc --noEmit --project ./src/extension/tsconfig.json && tsc --noEmit --project ./src/renderer/tsconfig.json",
"tsc-watch": "tsc --watch",
"tsc": "tsc --b",
"vscode:prepublish": "npm run build",
"watch": "npm run esbuild -- --watch"
},
"devDependencies": {
"@types/node": "^22.8.1",
"@types/react": "^18.3.8",
"@types/vscode": "1.71.0",
"@types/vscode-notebook-renderer": "^1.72.3",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"esbuild": "^0.24.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-node": "^11.1.0",
"httpyac": "^6.15.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"lockfile-lint": "^4.14.0",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
},
"dependencies": {
"preact": "^10.25.4"
}
}