forked from graphql/graphiql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
180 lines (180 loc) · 5.09 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
{
"name": "vscode-graphql",
"version": "0.9.3",
"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"
},
"vscode-graphql.cacheSchemaFileForLookup": {
"type": [
"boolean"
],
"description": "Use a cached file output of your graphql-config schema result for definition lookups, symbols, outline, etc. Disabled by default."
},
"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
},
"graphql-config.load.rootDir": {
"type": [
"string"
],
"description": "Base dir for graphql config loadConfig()"
},
"graphql-config.load.filePath": {
"type": [
"string"
],
"description": "filePath for graphql config loadConfig()",
"default": null
},
"graphql-config.load.legacy": {
"type": [
"boolean"
],
"description": "legacy mode for graphql config v2 config",
"default": null
},
"graphql-config.load.configName": {
"type": [
"string"
],
"description": "optional <configName>.config.js instead of default `graphql`",
"default": null
},
"graphql-config.dotEnvPath": {
"type": [
"string"
],
"description": "optional .env load path, if not the default",
"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 --extensionFile $(ls -1 *.vsix | 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",
"graphql-language-service-server": "^2.12.0",
"vscode-languageclient": "8.0.2",
"typescript": "^5.3.3"
}
}