-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 2.68 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
{
"name": "observe-chicken-in-code",
"displayName": "observe-chicken-in-code",
"description": "插件会根据设置的基金代码获取当前基金涨跌情况数据,然后生成代码文件,这样就可以在代码里高隐蔽性查看基金情况",
"repository": {
"type": "git",
"url": "https://github.com/stack-stark/observe-chicken-in-code.git"
},
"version": "2.0.0",
"publisher": "stack-stark-code",
"keywords": [
"stock",
"股票",
"fund",
"摸鱼",
"基金",
"同花顺",
"天天基金",
"蚂蚁财富",
"vscode"
],
"icon": "resources/logo.png",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "code.addChicken",
"title": "添加基金"
},
{
"command": "code.showChicken",
"title": "码上看鸡"
}
],
"configuration": {
"properties": {
"stack.chickenArray": {
"type": "array",
"default": [
"320007",
"008592",
"003834",
"161725",
"002364",
"005918",
"003745",
"004119",
"162703",
"270002"
],
"description": "配置需要生成的基金代码"
}
}
},
"menus": {
"editor/context": [
{
"when": "editorFocus",
"command": "code.addChicken",
"group": "navigation@1"
},
{
"when": "editorFocus",
"command": "code.showChicken",
"group": "navigation@2"
}
]
},
"keybindings": [
{
"command": "code.showChicken",
"key": "ctrl+shift+x",
"mac": "cmd+shift+x",
"when": "editorTextFocus"
},
{
"command": "code.addChicken",
"key": "ctrl+shift+a",
"mac": "cmd+shift+a",
"when": "editorTextFocus"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"build": "vsce package",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.6.8"
}
}