-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
164 lines (164 loc) · 3.96 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
{
"name": "tdx-indicator-formula",
"displayName": "通达信指标公式",
"description": "通达信指标公式插件,可以更高效的在vscode中编辑心仪指标",
"repository": {
"type": "git",
"url": "https://github.com/QuietlyChan/tdx-indicator-formula.git"
},
"author": "QuietlyChan <quietlychan@foxmail.com>",
"version": "0.0.2",
"publisher": "QuietlyChan",
"license": "MIT",
"keywords": [
"tdx",
"通达信",
"指标公式",
"量化交易",
"股票",
"stock",
"fund",
"基金",
"同花顺"
],
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Formatters",
"Other"
],
"icon": "icon.png",
"activationEvents": [],
"main": "./client/out/extension",
"contributes": {
"configurationDefaults": {
"[tdx]": {
"editor.maxTokenizationLineLength": 10000
}
},
"configuration": {
"type": "object",
"title": "通达信指标公式插件",
"properties": {
"tdx-indicator-formula.name": {
"type": "string",
"default": "guest",
"description": "你的名字"
},
"tdx-indicator-formula.showTip": {
"type": "boolean",
"default": true,
"description": "是否在每次启动时显示欢迎提示!"
},
"languageServerExample.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "控制服务器产生的最大问题数。"
},
"languageServerExample.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "跟踪vscode和语言服务器之间的通信。"
}
}
},
"commands": [
{
"command": "tdx-indicator-formula.helloWorld",
"title": "Hello World"
}
],
"grammars": [
{
"language": "tdx",
"scopeName": "source.tdx",
"path": "./syntaxes/tdx.tmLanguage.json"
}
],
"languages": [
{
"id": "tdx",
"extensions": [
".tdx"
],
"aliases": [
"tdx",
"TDX",
"通达信"
],
"filenames": [],
"firstLine": "^#!/.*\\bpython[0-9.-]*\\b",
"configuration": "./language-configuration.json",
"icon": {
"light": "./image/tdx-light.png",
"dark": "./image/tdx-light.png"
}
}
],
"viewsContainers": {
"activitybar": [
{
"id": "tdx-help-container",
"title": "通达信助手",
"icon": "./image/tdx.svg"
}
]
},
"views": {
"tdx-help-container": [
{
"id": "tdx-help-view",
"name": "通达信助手",
"type": "webview"
}
]
},
"themes": [
{
"label": "通达信深色",
"uiTheme": "vs-dark",
"path": "./tdx_Dark.tmTheme"
}
],
"snippets": [
{
"language": "tdx",
"path": "./snippets/tdx.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"pack": "vsce package",
"publish":"vsce publish",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"pretest": "npm run lint",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/vscode": "^1.76.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5",
"@vscode/test-electron": "^2.2.3"
}
}