-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
package.json
170 lines (170 loc) · 4.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
{
"name": "configuration-sample",
"displayName": "Configuration Sample",
"description": "How to contribute and use configurations in VS Code",
"version": "0.0.1",
"publisher": "vscode-samples",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension",
"keywords": [
"multi-root ready"
],
"contributes": {
"configuration": [
{
"id": "widgetSamples",
"title": "Settings Editor Widget Samples",
"order": 2,
"properties": {
"conf.settingsEditor.numericObjectSetting": {
"type": "object",
"order": 2,
"description": "An example numeric object setting.",
"properties": {
"intprop": {
"type": "integer",
"description": "Integer property"
},
"numprop": {
"type": "number",
"description": "Numeric property"
}
},
"additionalProperties": false
},
"conf.settingsEditor.boolObjectSetting": {
"type": "object",
"order": 1,
"description": "An example bool object setting.",
"properties": {
"prop1": {
"type": "boolean",
"description": "Property 1"
},
"prop2": {
"type": "boolean",
"description": "Property 2"
}
},
"additionalProperties": false,
"default": {
"prop1": true,
"prop2": false
}
},
"conf.settingsEditor.uniqueEnumArraySetting": {
"type": "array",
"description": "An example enum array setting.",
"items": {
"type": "string",
"enum": [
"red",
"yellow",
"blue"
]
},
"uniqueItems": true
},
"conf.settingsEditor.multilineSetting": {
"type": "string",
"description": "An example multiline setting.",
"editPresentation": "multilineText"
}
}
},
{
"id": "configurationSamples",
"title": "Configuration Sample",
"properties": {
"conf.view.showOnWindowOpen": {
"type": "string",
"enum": [
"explorer",
"search",
"scm",
"debug",
"extensions"
],
"default": "explorer",
"description": "Window configuration: View to show always when a window opens",
"scope": "window"
},
"conf.resource.insertEmptyLastLine": {
"type": "object",
"default": {},
"description": "Resource configuration: Configure files using glob patterns to have an empty last line always",
"scope": "resource"
},
"conf.language.showSize": {
"type": "boolean",
"default": false,
"description": "Shows the size of the document",
"scope": "language-overridable"
}
}
},
{
"id": "anotherCategory",
"title": "Misc Category",
"order": 1,
"properties": {
"conf.settingsEditor.firstMisc": {
"type": "string"
},
"conf.settingsEditor.secondMisc": {
"type": "string"
}
}
}
],
"commands": [
{
"category": "Configuration Sample",
"command": "config.commands.configureViewOnWindowOpen",
"title": "Configure view to show on window open"
},
{
"category": "Configuration Sample",
"command": "config.commands.configureEmptyLastLineCurrentFile",
"title": "Configure empty last line for current file"
},
{
"category": "Configuration Sample",
"command": "config.commands.configureEmptyLastLineFiles",
"title": "Configure empty last line for files"
},
{
"category": "Configuration Sample",
"command": "config.commands.overrideLanguageValue",
"title": "Configure show size for language"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/node": "^20",
"@types/vscode": "^1.73.0",
"eslint": "^9.13.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.11.0"
}
}