-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
192 lines (192 loc) · 4.34 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
191
192
{
"name": "Vsnips",
"displayName": "Vsnips",
"description": "Ultisnips for vscode",
"icon": "images/vimeo.png",
"publisher": "corvofeng",
"version": "0.6.4",
"engines": {
"vscode": "^1.35.0"
},
"categories": [
"Other"
],
"repository": "https://github.com/corvofeng/Vsnips",
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"browser": "./out/web/extension.js",
"contributes": {
"commands": [
{
"command": "Vsnips.edit_vsnips",
"title": "Edit snippets",
"category": "Vsnips"
},
{
"command": "Vsnips.show_available_snippets",
"title": "Show available snippets",
"category": "Vsnips"
}
],
"menus": {
"commandPalette": [
{
"command": "Vsnips.show_available_snippets"
}
]
},
"keybindings": [
{
"command": "Vsnips.show_available_snippets",
"key": "ctrl+alt+v",
"mac": "cmd+alt+v"
}
],
"configuration": {
"title": "Vsnips",
"properties": {
"Vsnips.SnipsDir": {
"type": "array",
"description": "Directories for snippets",
"default": []
},
"Vsnips.VarFiles": {
"type": "array",
"description": "Files for snippets variables, we call it vimrc.",
"default": []
},
"Vsnips.UseDefaultSnips": {
"type": "boolean",
"description": "Wheather to use the default snippets from github",
"default": true
},
"Vsnips.UserScriptFiles": {
"type": "array",
"description": "User's own script function",
"default": []
},
"Vsnips.LogLevel": {
"type": "string",
"description": "The Vsnip's LogLevel",
"enumDescriptions": [
"Log nothing",
"Log with full detail",
"Log with info level",
"Log with warn level",
"Log with error level"
],
"enum": [
"NO",
"DEBUG",
"INFO",
"WARN",
"ERROR"
],
"default": "NO"
},
"Vsnips.EnableAutoTrigger": {
"type": "boolean",
"description": "Wheather to enable auto trigger, it is powerful but not recommanded",
"default": false
},
"Vsnips.DisplayStrategy": {
"type": "string",
"description": "The Vsnip's display strategy",
"enum": [
"ALL",
"PREFIX"
],
"default": "ALL"
},
"Vsnips.LabelPrefix": {
"type": "string",
"description": "The snippets's label prefix",
"default": ""
},
"Vsnips.trigers": {
"type": "array",
"description": "User's defined trigers, it is powerful but not recommanded",
"default": []
},
"Vsnips.IgnoredSnippets": {
"type": "array",
"description": "Sometimes we don't need the old vim snippets",
"items": {
"type": "string"
},
"default": [
"{DEFAULT_PATH}/all.snippets:box",
"{DEFAULT_PATH}/all.snippets:bbox",
"{DEFAULT_PATH}/python.snippets:doc"
]
},
"Vsnips.VScodeVars": {
"type": "object",
"description": "Vars in VSCode",
"default": {}
}
}
},
"languages": [
{
"id": "snippets",
"extensions": [
".snippets"
],
"aliases": [
"snippets"
]
}
],
"grammars": [
{
"language": "snippets",
"scopeName": "source.snippets",
"path": "./syntaxes/snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext .ts",
"watch": "tsc -watch -p ./",
"test": "node ./out/test/runTest.js",
"vscode:prepublish-web": "npm run package-web",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map"
},
"devDependencies": {
"@types/chai": "^4.2.5",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.12.0",
"@types/request": "^2.48.2",
"@types/vscode": "^1.34.0",
"@types/walk": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"@vscode/test-electron": "^1.6.1",
"chai": "^4.2.0",
"eslint": "^7.21.0",
"glob": "^7.1.6",
"mocha": "^6.1.4",
"ts-loader": "^9.2.8",
"ts-node": "^8.5.2",
"typescript": "^4.3.5",
"webpack": "^5.71.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"js-logger": "^1.6.1",
"path-browserify": "^1.0.1"
},
"__metadata": {
"id": "a42f9b10-ee80-433b-9043-fc3a48ac1b2e",
"publisherDisplayName": "corvofeng",
"publisherId": "a645e3ba-2d9a-4490-bad1-6b6ef6c089af"
}
}