-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 3.83 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
{
"name": "fundwatch",
"displayName": "fundWatch",
"description": "查看基金/指数实时涨跌幅",
"version": "0.0.7",
"author": "BIGBbox",
"publisher": "BIGBbox",
"license": "MIT",
"repository": "https://github.com/BIGBbox/fundFetch.git",
"engines": {
"vscode": ">=1.41.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "fundWatch",
"properties": {
"fund-watch.favoriteFunds": {
"type": "array",
"default": [
"000043",
"008888"
],
"description": "自选基金列表,值为基金代码"
},
"fund-watch.favoriteIndexs": {
"type": "array",
"default": [
"1A0001",
"399001"
],
"description": "自选指数列表,值为指数代码"
},
"fund-watch.interval": {
"type": "number",
"default": 2,
"description": "刷新时间,单位为秒,默认 2 秒"
},
"fund-watch.showUpdateTime": {
"type": "number",
"default": 0,
"description": "是否显示当涨跌幅更新时间(0:不显示时间,1:显示年-月-日,2:显示年-月-日 时:分 )"
}
}
},
"commands": [
{
"command": "fund.add",
"title": "新增",
"icon": {
"light": "images/light/add.svg",
"dark": "images/dark/add.svg"
}
},
{
"command": "fund.order",
"title": "排序",
"icon": {
"light": "images/light/order.svg",
"dark": "images/dark/order.svg"
}
},
{
"command": "fund.refresh",
"title": "刷新",
"icon": {
"light": "images/light/refresh.svg",
"dark": "images/dark/refresh.svg"
}
},
{
"command": "fund.item.remove",
"title": "删除"
},
{
"command": "fund.item.click",
"title": "点击"
}
],
"menus": {
"view/title": [
{
"command": "fund.order",
"when": "view == fund-list",
"group": "navigation"
},
{
"command": "fund.refresh",
"when": "view == fund-list",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "fund.item.remove",
"when": "view == fund-list && !viewItem",
"group": "inline"
},
{
"command": "fund.add",
"when": "view == fund-list && (viewItem == FUND || viewItem == INDEX)",
"group": "inline"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "fund-watch",
"title": "FUND WATCH",
"icon": "images/fund.svg"
}
]
},
"views": {
"fund-watch": [
{
"name": "",
"id": "fund-list"
}
]
}
},
"scripts": {
"build": "webpack --mode production",
"watch": "webpack --watch",
"package": "vsce package",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.41.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.16.0",
"ts-loader": "^9.5.1",
"typescript": "^5.7.2",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"axios": "^1.7.9",
"vsce": "^2.15.0"
}
}