-
Notifications
You must be signed in to change notification settings - Fork 470
/
package.json
170 lines (170 loc) · 5.17 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
{
"name": "vscode-apollo",
"displayName": "Apollo GraphQL",
"description": "Rich editor support for GraphQL client and server development that seamlessly integrates with the Apollo platform",
"version": "1.16.6",
"referenceID": "87197759-7617-40d0-b32e-46d378e907c7",
"author": "Apollo GraphQL <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-tooling"
},
"homepage": "https://github.com/apollographql/apollo-tooling",
"bugs": "https://github.com/apollographql/apollo-tooling/issues",
"main": "./lib/extension",
"types": "lib/index.d.ts",
"scripts": {
"preinstall": "npx rimraf node_modules && mkdir node_modules",
"postinstall": "npm run update-vscode && npm run create-server-symlink",
"update-vscode": "node ../../node_modules/vscode/bin/install",
"create-server-symlink": "npx rimraf node_modules && mkdir node_modules && node create-server-symlink.js",
"_internal:prepare-extension": "npx rimraf node_modules && yarn install --force --production --ignore-scripts",
"_internal:cleanup-extension": "git clean -dfqX -- ./node_modules ./yarn.lock && npm run create-server-symlink",
"package-extension": "npm run _internal:prepare-extension && ../../node_modules/vsce/out/vsce package --yarn --baseContentUrl https://raw.githubusercontent.com/apollographql/apollo-tooling/master/packages/vscode-apollo && npm run _internal:cleanup-extension",
"publish-extension": "npm run _internal:prepare-extension && ../../node_modules/vsce/out/vsce publish -p $VS_MARKETPLACE_TOKEN --yarn --baseContentUrl https://raw.githubusercontent.com/apollographql/apollo-tooling/master/packages/vscode-apollo && npm run _internal:cleanup-extension",
"test": "node ./lib/testRunner/vscode-test-script.js"
},
"engines": {
"vscode": "^1.30.0"
},
"dependencies": {
"apollo-env": "file:../apollo-env",
"apollo-language-server": "file:../apollo-language-server",
"vscode-languageclient": "^5.2.1"
},
"publisher": "apollographql",
"categories": [
"Programming Languages",
"Linters"
],
"icon": "images/icon-apollo-blue-400x400.png",
"activationEvents": [
"workspaceContains:**/apollo.config.[jt]s"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Configuration",
"properties": {
"apollographql.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
},
"languages": [
{
"id": "graphql",
"extensions": [
".gql",
".graphql",
".graphqls"
],
"aliases": [
"GraphQL"
],
"configuration": "./graphql.configuration.json"
}
],
"grammars": [
{
"language": "graphql",
"scopeName": "source.graphql",
"path": "./syntaxes/graphql.json"
},
{
"injectTo": [
"source.js",
"source.ts",
"source.js.jsx",
"source.tsx",
"source.vue"
],
"scopeName": "inline.graphql",
"path": "./syntaxes/graphql.js.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
},
{
"injectTo": [
"source.python"
],
"scopeName": "inline.graphql.python",
"path": "./syntaxes/graphql.py.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
},
{
"injectTo": [
"source.ruby"
],
"scopeName": "inline.graphql.ruby",
"path": "./syntaxes/graphql.rb.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
},
{
"injectTo": [
"source.dart"
],
"scopeName": "inline.graphql.dart",
"path": "./syntaxes/graphql.dart.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
},
{
"injectTo": [
"source.reason"
],
"scopeName": "inline.graphql.reason",
"path": "./syntaxes/graphql.re.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
},
{
"injectTo": [
"source.elixir"
],
"scopeName": "inline.graphql.elixir",
"path": "./syntaxes/graphql.ex.json",
"embeddedLanguages": {
"meta.embedded.block.graphql": "graphql"
}
}
],
"commands": [
{
"command": "apollographql/selectSchemaTag",
"title": "Select schema tag",
"category": "Apollo"
},
{
"command": "apollographql/reloadService",
"title": "Reload schema",
"category": "Apollo"
},
{
"command": "apollographql/showStats",
"title": "Show Status",
"category": "Apollo"
}
]
},
"galleryBanner": {
"color": "#1d127d",
"theme": "dark"
}
}