-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
160 lines (160 loc) · 4.3 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
{
"name": "coc-json",
"version": "1.9.2",
"description": "Json extension for coc.nvim",
"main": "lib/index.js",
"publisher": "chemzqm",
"keywords": [
"coc.nvim",
"json"
],
"engines": {
"coc": ">= 0.0.80"
},
"scripts": {
"prepare": "node esbuild.js"
},
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc",
"onCommand:json.clearCache"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Json",
"properties": {
"json.enable": {
"type": "boolean",
"default": true,
"description": "Enable json language server"
},
"json.enableDefaultSchemas": {
"type": "boolean",
"default": true,
"description": "Enable builtin schemas from https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/api/json/catalog.json"
},
"json.trace.server": {
"type": "string",
"default": "off",
"enum": [
"off",
"messages",
"verbose"
]
},
"json.execArgv": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"json.validate.enable": {
"type": "boolean",
"scope": "window",
"default": true,
"description": "Enable/disable JSON validation."
},
"json.format.enable": {
"type": "boolean",
"scope": "window",
"default": true,
"description": "Enable format for json server"
},
"json.format.keepLines": {
"type": "boolean",
"scope": "window",
"default": false,
"description": "Keep all existing new lines when formatting."
},
"json.maxItemsComputed": {
"type": "number",
"default": 5000,
"description": "The maximum number of outline symbols and folding regions computed (limited for performance reasons)."
},
"json.schemaDownload.enable": {
"type": "boolean",
"default": true,
"description": "When enabled, JSON schemas can be fetched from http and https locations.",
"tags": [
"usesOnlineServices"
]
},
"json.schemas": {
"type": "array",
"scope": "resource",
"description": "Schemas associations for json files",
"default": [],
"items": {
"type": "object",
"default": {
"fileMatch": [
"/my-file"
],
"url": "schemaURL"
},
"properties": {
"url": {
"type": "string",
"default": "/user.schema.json"
},
"fileMatch": {
"type": "array",
"items": {
"type": "string",
"default": "MyFile.json"
},
"minItems": 1,
"description": "File pattern to match."
},
"schema": {
"$ref": "http://json-schema.org/draft-04/schema#",
"description": "Url of json schema, support file/url protocol."
}
}
}
}
}
},
"jsonValidation": [
{
"fileMatch": "*.schema.json",
"url": "http://json-schema.org/draft-07/schema#"
}
],
"commands": [
{
"command": "json.sort",
"title": "Soct JSON document",
"category": "JSON"
},
{
"command": "json.clearCache",
"title": "Clear schema cache",
"category": "JSON"
},
{
"command": "json.retryResolveSchema",
"title": "Retry schema resolve",
"category": "JSON"
}
]
},
"author": "chemzqm@gmail.com",
"license": "MIT",
"devDependencies": {
"@chemzqm/tsconfig": "^0.0.3",
"@types/node": "^14.14",
"coc.nvim": "^0.0.83-next.8",
"esbuild": "^0.15.12",
"jsonc-parser": "^3.2.0",
"request-light": "^0.7.0",
"typescript": "^4.1.3",
"vscode-json-languageservice": "^5.3.6",
"vscode-languageserver": "^8.1.0",
"vscode-languageserver-protocol": "^3.17.3",
"vscode-uri": "^3.0.7"
},
"dependencies": {}
}