-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy pathpackage.json
196 lines (196 loc) · 6.03 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
191
192
193
194
195
196
{
"name": "vscode-graphql",
"version": "0.13.0",
"private": true,
"license": "MIT",
"displayName": "GraphQL: Language Feature Support",
"keywords": [
"graphql",
"lsp",
"graph"
],
"contributors": [
{
"name": "Divyendu Singh",
"url": "https://www.divyendusingh.com/"
},
{
"name": "Orta",
"url": "https://orta.io/"
}
],
"description": "GraphQL LSP extension that adds autocompletion, validation, go to definition, hover, outline and more.",
"icon": "assets/images/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/graphql/graphiql",
"directory": "packages/vscode-graphql"
},
"homepage": "https://github.com/graphql/graphiql/blob/main/packages/vscode-graphql/README.md",
"galleryBanner": {
"color": "#032539",
"theme": "dark"
},
"publisher": "GraphQL",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Programming Languages",
"Linters",
"Other"
],
"activationEvents": [
"onCommand:vscode-graphql.isDebugging",
"onCommand:vscode-graphql.contentProvider",
"workspaceContains:**/.graphqlrc",
"workspaceContains:**/.graphqlrc.{json,yaml,yml,js,ts,toml}",
"workspaceContains:**/graphql.config.{json,yaml,yml,js,ts,toml}",
"workspaceContains:**/package.json"
],
"main": "./out/extension.js",
"extensionDependencies": [
"GraphQL.vscode-graphql-syntax"
],
"contributes": {
"icons": {
"graphql-logo": {
"description": "GraphQL Icon",
"default": {
"fontPath": "assets/graphql-fonts.woff",
"fontCharacter": "\\E900"
}
},
"graphql-loading": {
"description": "GraphQL Loading Icon",
"default": {
"fontPath": "assets/graphql-fonts.woff",
"fontCharacter": "\\E902"
}
},
"graphql-failed": {
"description": "GraphQL Failed Icon",
"default": {
"fontPath": "assets/graphql-fonts.woff",
"fontCharacter": "\\E901"
}
}
},
"configuration": {
"title": "VS Code GraphQL",
"properties": {
"vscode-graphql.debug": {
"type": [
"boolean",
"null"
],
"default": false,
"description": "Enable debug logs and node debugger for client"
},
"vscode-graphql.cacheSchemaFileForLookup": {
"type": [
"boolean"
],
"description": "Use a cached file output of your graphql-config schema result for definition lookups, symbols, outline, etc. Enabled by default when one or more schema entry is not a local file with SDL in it. Disable if you want to use SDL with a generated schema."
},
"vscode-graphql.largeFileThreshold": {
"type": [
"number"
],
"description": "Disables outlining and other expensive operations for files larger than this threshold (in bytes). Defaults to 1000000 (one million).",
"default": 1000000
},
"vscode-graphql.rejectUnauthorized": {
"type": [
"boolean"
],
"description": "Fail the request on invalid certificate",
"default": true
},
"vscode-graphql.schemaCacheTTL": {
"type": [
"number"
],
"description": "Schema cache ttl in milliseconds - the interval before requesting a fresh schema when caching the local schema file is enabled. Defaults to 30000 (30 seconds).",
"default": 30000
},
"vscode-graphql.transport": {
"type": "string",
"enum": [
"ipc",
"stdio"
],
"description": "The transport used between the language server and the client.",
"default": "ipc"
},
"graphql-config.load.rootDir": {
"type": [
"string"
],
"description": "Base dir for graphql config loadConfig(), to look for config files or package.json"
},
"graphql-config.load.filepath": {
"type": [
"string"
],
"description": "exact filePath for a `graphql-config` file `loadConfig()`",
"default": null
},
"graphql-config.load.configName": {
"type": [
"string"
],
"description": "optional <configName>.config.{js,ts,toml,yaml,json} & <configName>rc* instead of default `graphql`",
"default": null
},
"graphql-config.load.legacy": {
"type": [
"boolean"
],
"description": "legacy mode for graphql config v2 config",
"default": null
}
},
"graphql-config.dotEnvPath": {
"type": [
"string"
],
"description": "optional .env load file path, if not the default. specify a relative path to the .env file to be loaded by dotenv module. you can also import dotenv in the config file.",
"default": null
}
},
"commands": [
{
"command": "vscode-graphql.restart",
"title": "VSCode GraphQL: Manual Restart"
},
{
"command": "vscode-graphql.showOutputChannel",
"title": "VSCode GraphQL: Show output channel"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile -- --minify",
"compile": "node esbuild",
"build-bundles": "npm run compile -- --sourcemap",
"vsce:package": "vsce package --yarn",
"env:source": "export $(cat .envrc | xargs)",
"vsce:publish": "vsce publish --yarn",
"open-vsx:publish": "ovsx publish $(ls -1 *.vsix | sort -V | tail -n 1) --pat $OVSX_PAT",
"release": "npm run vsce:publish && npm run open-vsx:publish"
},
"devDependencies": {
"@types/capitalize": "2.0.0",
"@types/vscode": "1.62.0",
"@vscode/vsce": "^2.22.1-2",
"esbuild": "0.18.10",
"ovsx": "0.8.3"
},
"dependencies": {
"graphql": "^16.8.1 || ^17.0.0-alpha.2",
"graphql-language-service-server": "^2.14.0",
"vscode-languageclient": "8.0.2",
"typescript": "^5.3.3"
}
}