-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.24 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
{
"name": "vscode-dragonbones-preview",
"displayName": "vscode-dragonbones-preview",
"description": "preview dragonboens zip file",
"icon": "icon.png",
"version": "0.4.0",
"publisher": "gnoijli",
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Other"
],
"repository": {
"url": "https://github.com/Tri-body/vscode-dragonbones-preview"
},
"activationEvents": [
"onCommand:vsc-extension.openDBPreview"
],
"main": "./out/extension.js",
"contributes": {
"configuration": [{
"title": "dragonbones preview config",
"properties": {
"dbv.conf.skeletonData": {
"type": "array",
"default": [
"*_ske.json",
"*_ske.dbbin",
"skeleton.json",
"skeleton.dbbin",
"skeleton.xml"
],
"description": "skeleton data file name in zip",
"scope": "window"
},
"dbv.conf.texture": {
"type": "array",
"default": [
"*_tex.png",
"texture.png"
],
"description": "texture file name in zip",
"scope": "window"
},
"dbv.conf.textureAtlas": {
"type": "array",
"default": [
"*_tex.json",
"texture.json",
"texture.xml"
],
"description": "texture atlas file name in zip",
"scope": "window"
}
}
}],
"commands": [{
"command": "vsc-extension.openDBPreview",
"title": "open dragonbones preview"
}],
"languages": [{
"id": "dbz",
"aliases": [
"DBZ"
],
"extensions": [
".dbz",
".zip",
".bin"
]
}],
"menus": {
"explorer/context": [{
"command": "vsc-extension.openDBPreview",
"when": "resourceLangId == dbz",
"group": "dbPreview@1"
}]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"package": "rimraf ./dist && mkdirp ./dist && vsce package -o ./dist/"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "^15.3.0",
"@types/vscode": "^1.56.0",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"eslint": "^7.26.0",
"glob": "^7.1.7",
"mkdirp": "^1.0.4",
"mocha": "^8.4.0",
"rimraf": "^3.0.2",
"typescript": "^4.2.4",
"vsce": "^1.88.0",
"vscode-test": "^1.5.2"
}
}