-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
111 lines (111 loc) · 2.69 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
{
"name": "stock-bar",
"displayName": "Stock Bar",
"description": "股票监控,底部状态栏实时更新 A股|港股|美股|实时股票数据",
"version": "1.0.8",
"publisher": "Chef",
"license": "MIT",
"keywords": [
"stock",
"vscode"
],
"icon": "stocks.png",
"engines": {
"vscode": "^1.28.0",
"node": "^18.0.0"
},
"categories": [
"Other"
],
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"publish": "vsce publish",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"activationEvents": [
"*"
],
"main": "./dist/extension",
"contributes": {
"configuration": {
"properties": {
"stock-bar.stocks": {
"type": "array",
"default": [
"sh000001",
{
"code": "sz000001",
"alias": "平安",
"hold_price": 0,
"hold_number": 0
}
],
"description": "股票代码数组,配置需要监控的股票代码,具体配置规则请查看插件详情页"
},
"stock-bar.futures": {
"type": "array",
"default": [],
"description": "商品期货数组,配置需要监控的商品期货,具体配置规则请查看插件详情页"
},
"stock-bar.updateInterval": {
"type": "number",
"default": 10000,
"description": "更新数据时间间隔,单位:毫秒"
},
"stock-bar.riseColor": {
"type": "string",
"default": "",
"description": "股票涨的颜色,默认跟随系统"
},
"stock-bar.fallColor": {
"type": "string",
"default": "",
"description": "股票跌的颜色,默认跟随系统"
}
}
},
"commands": [
{
"command": "stockbar.start",
"title": "Show Stock Bar"
},
{
"command": "stockbar.stop",
"title": "Hide Stock Bar"
}
]
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.28.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.1",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"prettier": "^2.6.2",
"ts-loader": "^9.3.0",
"typescript": "^4.7.2",
"webpack": "^5.76.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"axios": "^0.27.2"
},
"repository": {
"type": "git",
"url": "https://github.com/Chef5/stock-bar"
}
}