-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
173 lines (173 loc) · 4.56 KB
/
Copy pathpackage.json
File metadata and controls
173 lines (173 loc) · 4.56 KB
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
{
"name": "watch-stock",
"displayName": "摸鱼看盘",
"icon": "images/logo.jpg",
"description": "极简股票查看插件,编码的同时轻松掌握股市动态",
"version": "2.3.2",
"publisher": "pbstar",
"engines": {
"vscode": "^1.96.0",
"node": ">=18"
},
"scripts": {
"typecheck": "tsc --noEmit",
"build": "npm run typecheck && node esbuild.config.mjs && vsce package"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "watch-stock.addStock",
"title": "添加股票"
},
{
"command": "watch-stock.removeStock",
"title": "移除股票"
},
{
"command": "watch-stock.clearStocks",
"title": "清空股票"
},
{
"command": "watch-stock.sortStocks",
"title": "排序股票"
},
{
"command": "watch-stock.manageStock",
"title": "管理股票",
"icon": "$(gear)"
},
{
"command": "watch-stock.toggleVisibility",
"title": "显示/隐藏状态栏"
},
{
"command": "watch-stock.priceAlarm",
"title": "价格闹钟"
},
{
"command": "watch-stock.refreshData",
"title": "刷新行情数据"
}
],
"configuration": {
"title": "摸鱼看盘",
"properties": {
"watch-stock.stocks": {
"type": "array",
"default": [
"sh000001"
],
"description": "股票代码列表",
"items": {
"type": "string"
}
},
"watch-stock.priceAlarms": {
"type": "array",
"default": [],
"description": "价格闹钟列表",
"items": {
"type": "object"
}
},
"watch-stock.maxDisplayCount": {
"type": "number",
"default": 5,
"description": "状态栏最大显示股票数量"
},
"watch-stock.showMiniName": {
"type": "boolean",
"default": false,
"description": "状态栏是否显示简称"
},
"watch-stock.stockMiniNames": {
"type": "object",
"default": {},
"description": "股票简称映射,key 为股票代码,value 为自定义简称,例如 {\"sh601318\": \"平安\"}",
"additionalProperties": {
"type": "string"
}
},
"watch-stock.showChangeValue": {
"type": "boolean",
"default": false,
"description": "状态栏是否显示涨跌值"
},
"watch-stock.autoHideByMarket": {
"type": "boolean",
"default": false,
"description": "根据开休市时间自动显示/隐藏状态栏"
},
"watch-stock.enableLockTip": {
"type": "boolean",
"default": false,
"description": "是否开启封单异动通知"
},
"watch-stock.enableLargeTip": {
"type": "boolean",
"default": false,
"description": "是否开启大单异动通知"
},
"watch-stock.showLockCount": {
"type": "boolean",
"default": false,
"description": "状态栏是否显示封单数量"
},
"watch-stock.enableColorful": {
"type": "boolean",
"default": false,
"description": "是否开启彩色视图"
},
"watch-stock.stockSortType": {
"type": "string",
"default": "custom",
"enum": [
"custom",
"changeAsc",
"changeDesc"
],
"description": "股票排序方式:custom 自定义排序,changeAsc 按涨幅升序,changeDesc 按涨幅降序"
}
}
},
"keybindings": [
{
"command": "watch-stock.toggleVisibility",
"key": "ctrl+alt+s",
"mac": "cmd+alt+s",
"when": "editorTextFocus || !editorTextFocus"
}
]
},
"devDependencies": {
"@types/node": "^25.6.0",
"@types/vscode": "1.96.0",
"@vscode/vsce": "^3.9.1",
"esbuild": "^0.28.0",
"typescript": "^6.0.3"
},
"keywords": [
"摸鱼看盘",
"stock",
"股票",
"行情",
"finance"
],
"repository": {
"type": "git",
"url": "https://github.com/pbstar/watch-stock"
},
"bugs": {
"url": "https://github.com/pbstar/watch-stock/issues"
},
"homepage": "https://github.com/pbstar/watch-stock#readme",
"author": "pbstar@sina.cn",
"license": "MIT"
}