forked from TzeroOcne/datapack-helper-edit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 2.86 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
{
"name": "datapack-helper",
"displayName": "datapack-helper",
"description": "Minecraft Datapack helper, providing datapack creation utilities and autocompletion for functions",
"version": "0.6.1",
"publisher": "pca",
"engines": {
"vscode": "^1.19.0"
},
"main": "./out/extension",
"categories": [
"Linters",
"Languages",
"Other"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pca006132/datapack-helper.git"
},
"contributes": {
"languages": [
{
"id": "mcfunction",
"extensions": [
".mcfunction"
],
"configuration": "./language-configuration.json"
}
],
"commands": [
{
"command": "datapack.initialize",
"title": "Initialize datapack"
},
{
"command": "datapack.reload",
"title": "Reload datapack references"
},
{
"command": "datapack.open",
"title": "Open(create) function/advancement file based on its name"
},
{
"command": "datapack.addTag",
"title": "Add tags to the current function"
}
],
"grammars": [
{
"language": "mcfunction",
"scopeName": "source.mcfunction",
"path": "./syntaxes/mcfunction.json"
}
],
"jsonValidation": [
{
"fileMatch": "/data/*/advancements/**.json",
"url": "./ref/advancement-schema.json"
},
{
"fileMatch": "/data/*/loot_tables/**.json",
"url": "./ref/loot-table-schema.json"
},
{
"fileMatch": "/data/*/recipes/**.json",
"url": "./ref/recipe-schema.json"
},
{
"fileMatch": "/data/*/tags/**/*.json",
"url": "./ref/tag-schema.json"
}
],
"keybindings": [
{
"command": "datapack.escape",
"key": "alt+/",
"when": "editorHasSelection"
},
{
"command": "datapack.unescape",
"key": "alt+\\",
"when": "editorHasSelection"
},
{
"command": "datapack.evaluate",
"key": "ctrl+e",
"when": "editorHasSelection"
},
{
"command": "datapack.removeduplicates",
"key": "ctrl+alt+r",
"when": "editorHasSelection"
},
{
"command": "datapack.open",
"key": "ctrl+alt+o"
},
{
"command": "datapack.addTag",
"key": "ctrl+alt+t"
}
]
},
"activationEvents": [
"workspaceContains:**/pack.mcmeta",
"onCommand:datapack.initialize",
"onCommand:datapack.read"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/fs-extra": "^5.0.0",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"sinon": "^4.1.3",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
},
"dependencies": {
"fs-extra": "^5.0.0"
},
"__metadata": {
"id": "0363aa82-8911-48d0-9c22-985af690f5fb",
"publisherId": "715f3d90-4df3-41f5-b2c2-493b67cd90c9",
"publisherDisplayName": "pca"
}
}