-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
175 lines (175 loc) · 4.89 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
{
"name": "njwap-projects-tree-view",
"displayName": "njwap-tree-view",
"description": "为 njwap 项目定制的 Tree View 扩展",
"version": "0.1.1",
"publisher": "hex-ci",
"repository": "https://github.com/ChangbaFE/njwap-projects-tree-view-vscode",
"license": "MIT",
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Other"
],
"keywords": [
"treeview"
],
"activationEvents": [
"onView:njwapProjects"
],
"main": "./out/extension",
"contributes": {
"views": {
"explorer": [
{
"id": "njwapProjects",
"name": "njwap 项目"
}
]
},
"commands": [
{
"command": "njwap-projects-tree-view.refresh",
"title": "刷新"
},
{
"command": "njwap-projects-tree-view.openFile",
"title": "打开文件"
},
{
"command": "njwap-projects-tree-view.createFolder",
"title": "新建文件夹"
},
{
"command": "njwap-projects-tree-view.importFile",
"title": "导入文件"
},
{
"command": "njwap-projects-tree-view.createFile",
"title": "新建文件"
},
{
"command": "njwap-projects-tree-view.rename",
"title": "重命名"
},
{
"command": "njwap-projects-tree-view.remove",
"title": "删除"
},
{
"command": "njwap-projects-tree-view.revealFile",
"title": "在 njwap 项目中显示"
}
],
"menus": {
"editor/title/context": [
{
"command": "njwap-projects-tree-view.revealFile"
}
],
"view/title": [
{
"command": "njwap-projects-tree-view.refresh",
"when": "view == njwapProjects",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "njwap-projects-tree-view.createFolder",
"when": "view == njwapProjects && viewItem == labelFolder",
"group": "njwap@1"
},
{
"command": "njwap-projects-tree-view.createFile",
"when": "view == njwapProjects && viewItem == labelFolder",
"group": "njwap@2"
},
{
"command": "njwap-projects-tree-view.importFile",
"when": "view == njwapProjects && viewItem == labelFolder",
"group": "njwap@3"
},
{
"command": "njwap-projects-tree-view.createFolder",
"when": "view == njwapProjects && viewItem == folder",
"group": "njwap@1"
},
{
"command": "njwap-projects-tree-view.createFile",
"when": "view == njwapProjects && viewItem == folder",
"group": "njwap@2"
},
{
"command": "njwap-projects-tree-view.importFile",
"when": "view == njwapProjects && viewItem == folder",
"group": "njwap@3"
},
{
"command": "njwap-projects-tree-view.rename",
"when": "view == njwapProjects && viewItem == file",
"group": "njwap@4"
},
{
"command": "njwap-projects-tree-view.remove",
"when": "view == njwapProjects && viewItem == file",
"group": "njwap@5"
},
{
"command": "njwap-projects-tree-view.rename",
"when": "view == njwapProjects && viewItem == folder",
"group": "njwap@4"
},
{
"command": "njwap-projects-tree-view.remove",
"when": "view == njwapProjects && viewItem == folder",
"group": "njwap@5"
}
]
},
"keybindings": [],
"configuration": {
"type": "object",
"title": "njwap 配置",
"properties": {
"njwap-projects-tree-view.projectPath": {
"type": "string",
"default": "",
"description": "changba 项目绝对路径"
},
"njwap-projects-tree-view.includes": {
"type": "array",
"default": [],
"items": {
"type": "string",
"default": "",
"description": "项目名称,格式:一级目录/二级目录"
},
"description": "项目白名单,只显示设置的项目,不设置则显示所有项目。数组格式,每项为一个字符串,格式:一级目录/二级目录,例如:yunying/xxx"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "babel src -d out -s --delete-dir-on-start",
"watch": "babel src -d out -w -s --verbose",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.25",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.21"
},
"dependencies": {
"mkdirp": "^0.5.1",
"rimraf": "^2.6.3"
}
}