-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
210 lines (210 loc) · 5.87 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"publisher": "winches",
"name": "vue2-helper",
"displayName": "Vue2 Mixins Components Helper",
"version": "1.0.0",
"private": true,
"description": "enhance vue2 mixins develop experience",
"author": "winches",
"license": "MIT",
"repository": {
"type": "git"
},
"categories": [
"Other"
],
"icon": "res/logo.png",
"main": "./dist/index.js",
"files": [
"dist"
],
"engines": {
"vscode": "^1.69.0"
},
"activationEvents": [
"onLanguage:vue"
],
"contributes": {
"configuration": {
"type": "object",
"title": "mixins 跳转配置",
"properties": {
"mixins-helper.activeHeight": {
"type": "boolean",
"default": true,
"description": "高亮 mixins 内容"
},
"mixins-helper.activeReload": {
"type": "boolean",
"default": false,
"description": "热更新该文件引入 mixins 内容"
},
"mixins-helper.hoverTips": {
"type": "boolean",
"default": true,
"description": "鼠标 Hover 时出现该 mixins 内容提示"
},
"mixins-helper.alias": {
"type": "object",
"description": "路径别名映射"
},
"mixins-helper.textStyle": {
"type": "string",
"default": "wavy",
"description": "设定高亮文本的线的样式",
"enum": ["solid ", "double", "dotted", "dashed", "wavy"],
"enumDescriptions": [
"画一条实线。",
"画一条双实线。",
"画一条点划线。",
"画一条虚线。",
"画一条波浪线。"
]
},
"mixins-helper.textLine": {
"type": "string",
"default": "underline",
"description": "设定的高亮文本的修饰类型",
"enum": ["none ", "underline", "overline", "line-through"],
"enumDescriptions": [
"表示没有文本修饰效果。",
"在文本的下方有一条修饰线。",
"在文本的上方有一条修饰线。",
"有一条贯穿文本中间的修饰线。"
]
},
"mixins-helper.textColor": {
"type": "string",
"default": "#5074b3",
"description": "设定的高亮文本的颜色"
},
"mixins-helper.components": {
"type": "object",
"default": {
"sf": {
"docs": "",
"fileArr": ["components-path1"]
}
},
"properties": {
"[prefix: string]": {
"type": "object",
"properties": {
"[docs: string]": {
"type": "string"
},
"[fileArr: string]": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"description": "设置组件的前缀标识 -- 组件源码的文档和目录位置如:node_modules/@xxx/packages/components(基于根目录的相对路径)"
},
"mixins-helper.componentsGotoDefinition": {
"type": "boolean",
"default": true,
"markdownDescription": "开启组件库注册组件 `跳转` 功能"
},
"mixins-helper.componentsHoverTips": {
"type": "boolean",
"default": true,
"markdownDescription": "开启组件库注册组件 `Hover提示` 功能"
},
"mixins-helper.componentsCompletion": {
"type": "boolean",
"default": true,
"markdownDescription": "开启组件库注册组件 `智能补全` 功能"
},
"mixins-helper.tree": {
"type": "boolean",
"default": true,
"markdownDescription": "开启侧边栏`Mixins 助手`树视图展示"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "mixins-explorer",
"title": "Mixins 助手",
"icon": "res/icon.png"
}
]
},
"views": {
"mixins-explorer": [
{
"id": "mixinsTree",
"name": "Mixins 助手",
"contextualTitle": "Mixins 助手"
}
]
},
"commands": [
{
"command": "mixins-explorer.refresh",
"title": "重新收集 Mixins 并刷新展示",
"icon": {
"light": "res/light/refresh.svg",
"dark": "res/dark/refresh.svg"
}
},
{
"command": "mixins-explorer.gotoDefinition",
"title": "跳转到定义处",
"icon": {
"light": "res/light/refresh.svg",
"dark": "res/icon.png"
}
}
],
"menus": {
"view/title": [
{
"command": "mixins-explorer.refresh",
"when": "view == mixinsTree",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "mixins-explorer.gotoDefinition",
"when": "view == mixinsTree && viewItem == dependency",
"group": "inline"
}
]
}
},
"scripts": {
"build": "tsup src/index.ts --external vscode",
"dev": "nr build --watch",
"lint": "eslint src --fix",
"vscode:prepublish": "nr build",
"publish": "vsce publish --no-dependencies",
"pack": "vsce package --no-dependencies",
"test": "vitest",
"typecheck": "tsc --noEmit",
"changelog": "nr pack && npx conventional-changelog -p angular -i CHANGELOG.md -s && git add .",
"release": "bumpp --execute='npm run changelog' --all"
},
"devDependencies": {
"@antfu/eslint-config": "^0.25.2",
"@antfu/ni": "^0.17.2",
"@types/node": "^18.6.4",
"@types/vscode": "^1.69.0",
"acorn": "^8.10.0",
"acorn-walk": "^8.2.0",
"eslint": "^8.21.0",
"rimraf": "^3.0.2",
"ts-morph": "^19.0.0",
"tsup": "^6.2.1",
"typescript": "^4.7.4",
"vite": "^3.0.4",
"vitest": "^0.21.0",
"vsce": "^2.10.0"
}
}