-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 4.37 KB
/
package.json
File metadata and controls
163 lines (163 loc) · 4.37 KB
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
{
"name": "coc-json",
"version": "1.9.3",
"description": "Json extension for coc.nvim",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/neoclide/coc-json.git"
},
"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": "[email protected]",
"license": "MIT",
"devDependencies": {
"@chemzqm/tsconfig": "^0.0.3",
"@types/node": "^16.18",
"coc.nvim": "^0.0.83-next.19",
"esbuild": "^0.25.0",
"jsonc-parser": "^3.2.0",
"request-light": "^0.7.0",
"typescript": "^5.8.3",
"vscode-json-languageservice": "^5.4.3",
"vscode-languageserver": "^8.1.0",
"vscode-languageserver-protocol": "^3.17.3",
"vscode-uri": "^3.0.7"
}
}