-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.14 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
{
"name": "d2wt-helper",
"displayName": "d2wt-helper",
"description": "DotA2 地图编辑器助手",
"private": true,
"version": "0.0.1",
"publisher": "tanruixin",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Snippets",
"Other"
],
"activationEvents": [
"onLanguage:key-value",
"onCustomEditor:d2wt-helper.kv-editor"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "key-value",
"aliases": [
"KV"
],
"extensions": [
".kv",
".txt"
],
"configuration": "./language-configuration.json"
}
],
"customEditors": [
{
"viewType": "d2wt-helper.kv-editor",
"displayName": "KV Editor",
"selector": [
{
"filenamePattern": "*.kv"
},
{
"filenamePattern": "*.txt"
}
],
"priority": "option"
}
],
"snippets": [
{
"language": "key-value",
"path": "./snippets/kv-new.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./"
},
"devDependencies": {
"@types/vscode": "^1.44.0",
"@types/node": "^13.11.0",
"typescript": "^3.8.3"
}
}