forked from redhat-developer/vscode-yaml
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·190 lines (190 loc) · 5.06 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
{
"name": "vscode-yaml",
"displayName": "YAML",
"description": "YAML Language Support by Red Hat, with built-in Kubernetes syntax support",
"author": "Red Hat",
"contributors": [
{
"name": "Joshua Pinkney",
"email": "[email protected]"
}
],
"license": "MIT",
"version": "0.11.1",
"publisher": "redhat",
"preview": true,
"bugs": "https://github.com/redhat-developer/vscode-yaml/issues",
"repository": {
"type": "git",
"url": "https://github.com/redhat-developer/vscode-yaml"
},
"icon": "icon/icon128.png",
"engines": {
"vscode": "^1.31.0"
},
"categories": [
"Programming Languages",
"Linters",
"Snippets",
"Formatters"
],
"activationEvents": [
"onLanguage:yaml"
],
"keywords": [
"kubernetes",
"yaml",
"autocompletion",
"validation"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "yaml",
"aliases": [
"YAML",
"yaml"
],
"extensions": [
".yml",
".eyaml",
".eyml",
".yaml"
],
"filenames": [
".clang-format",
"_clang-format"
],
"firstLine": "^#cloud-config",
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "yaml",
"scopeName": "source.yaml",
"path": "./syntaxes/yaml.tmLanguage.json"
}
],
"configuration": {
"properties": {
"yaml.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VSCode and the YAML language service."
},
"yaml.schemas": {
"type": "object",
"default": {},
"description": "Associate schemas to YAML files in the current workspace"
},
"yaml.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable default YAML formatter"
},
"yaml.format.singleQuote": {
"type": "boolean",
"default": false,
"description": "Use single quotes instead of double quotes"
},
"yaml.format.bracketSpacing": {
"type": "boolean",
"default": true,
"description": "Print spaces between brackets in objects"
},
"yaml.format.proseWrap": {
"type": "string",
"default": "preserve",
"enum": [
"preserve",
"never",
"always"
],
"description": "Always: wrap prose if it exeeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is"
},
"yaml.format.printWidth": {
"type": "integer",
"default": 80,
"description": "Specify the line length that the printer will wrap on"
},
"yaml.validate": {
"type": "boolean",
"default": true,
"description": "Enable/disable validation feature"
},
"yaml.hover": {
"type": "boolean",
"default": true,
"description": "Enable/disable hover feature"
},
"yaml.completion": {
"type": "boolean",
"default": true,
"description": "Enable/disable completion feature"
},
"yaml.customTags": {
"type": "array",
"default": [],
"description": "Custom tags for the parser to use"
},
"yaml.schemaStore.enable": {
"type": "boolean",
"default": true,
"description": "Automatically pull available YAML schemas from JSON Schema Store"
}
}
},
"configurationDefaults": {
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"editor.autoIndent": "advanced"
}
}
},
"scripts": {
"build": "npm run clean && npm run lint && npm run vscode:prepublish",
"check-dependencies": "node .scripts/check-dependencies.js",
"clean": "rimraf out",
"compile": "tsc -watch -p ./",
"format": "prettier --write .",
"lint": "eslint -c .eslintrc.js --ext .ts src test",
"test": "sh scripts/e2e.sh",
"vscode:prepublish": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^2.2.48",
"@types/node": "^6.0.52",
"@types/vscode": "^1.31.0",
"@typescript-eslint/eslint-plugin": "^3.9.0",
"@typescript-eslint/parser": "^3.9.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"glob": "^7.1.6",
"mocha": "^8.0.1",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^3.3.0",
"typescript": "3.5.1",
"vscode-test": "^1.4.0"
},
"dependencies": {
"vscode-languageclient": "5.2.1",
"vscode-nls": "^3.2.1",
"vscode-uri": "^2.0.3",
"yaml-language-server": "next"
}
}