-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
208 lines (208 loc) · 5.79 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "inline-math",
"displayName": "Inline Math",
"description": "Evaluate math expressions right in your editor",
"publisher": "RossCooper",
"version": "0.0.11",
"engines": {
"vscode": "^1.6.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Froskk/inline-math.git"
},
"homepage": "https://github.com/Froskk/inline-math/blob/main/README.md",
"bugs": {
"url": "https://github.com/Froskk/inline-math/issues"
},
"categories": [
"Other",
"Visualization",
"Programming Languages",
"Education"
],
"keywords": [
"inline",
"math",
"mathjs",
"expressions",
"evaluation"
],
"main": "./out/extension.js",
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#302945",
"theme": "dark"
},
"activationEvents": [
"onStartupFinished",
"onCommand:inlineMath.toggle",
"onCommand:inlineMath.copyResult"
],
"contributes": {
"commands": [
{
"command": "inlineMath.toggle",
"title": "Toggle Inline Math"
},
{
"command": "inlineMath.copyResult",
"title": "Copy Math Result"
}
],
"configuration": {
"properties": {
"inlineMath.enabled": {
"type": "boolean",
"default": true,
"description": "Controls all decorations and features (except commands)."
},
"inlineMath.messageTemplate": {
"type": "string",
"default": "$source = $result",
"description": "Message Template ($result, $source)"
},
"inlineMath.messageMaxChars": {
"type": "number",
"default": 30,
"description": "Max source length"
},
"inlineMath.hoverMessage": {
"type": "boolean",
"default": true,
"description": "Show hover message on decoration?"
},
"inlineMath.delay": {
"type": "number",
"default": 500,
"description": "Delay calculating after cursor move (debounce). 0 will have no delay"
},
"inlineMath.fontFamily": {
"type": "string",
"default": "",
"description": "Font family of inline message."
},
"inlineMath.fontWeight": {
"type": "string",
"enum": [
"100",
"200",
"300",
"400",
"normal",
"500",
"600",
"700",
"bold",
"800",
"900"
],
"default": "normal",
"markdownDescription": "Font weight of inline message. `\"normal\"` is alias for 400, `\"bold\"` is alias for 700)."
},
"inlineMath.fontStyleItalic": {
"type": "boolean",
"default": true,
"description": "When enabled - shows inline message in italic font style."
},
"inlineMath.fontSize": {
"type": "string",
"default": "0.85em",
"markdownDescription": "Font size of inline message ([CSS units](https://developer.mozilla.org/en-US/docs/Web/CSS/length))."
},
"inlineMath.margin": {
"type": "string",
"default": "2ch",
"description": "Distance between the last word on the line and the start of inline message ([CSS units](https://developer.mozilla.org/en-US/docs/Web/CSS/length))."
},
"inlineMath.padding": {
"type": "string",
"default": "2px 1ch",
"markdownDescription": "Padding of the inline message",
"examples": [
"2px 1ch"
]
},
"inlineMath.borderRadius": {
"type": "string",
"default": "5px",
"markdownDescription": "Border radius of the inline message",
"examples": [
"5px",
"5em 0px",
"0px 5em 5em 0px"
]
}
}
},
"colors": [
{
"id": "inlineMath.background",
"defaults": {
"dark": "#00b7e420",
"light": "#00b7e420",
"highContrast": "#00b7e420"
},
"description": "Background color"
},
{
"id": "inlineMath.backgroundLight",
"defaults": {
"dark": "#00b7e420",
"light": "#00b7e420",
"highContrast": "#00b7e420"
},
"description": "Background color (Only in light themes)."
},
{
"id": "inlineMath.foreground",
"defaults": {
"dark": "#00b7e4",
"light": "#00b7e4",
"highContrast": "#00b7e4"
},
"description": "Text color"
},
{
"id": "inlineMath.foregroundLight",
"defaults": {
"dark": "#00b7e4",
"light": "#00b7e4",
"highContrast": "#00b7e4"
},
"description": "Text color (Only in light themes)."
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile -- --minify",
"compile": "rimraf out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "echo \"No tests provided\"",
"vsce": "vsce"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/lodash.debounce": "^4.0.7",
"@types/mocha": "^10.0.0",
"@types/node": "16.x",
"@types/vscode": "^1.6.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@vscode/test-electron": "^2.1.5",
"esbuild": "^0.15.11",
"eslint": "^8.24.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"rimraf": "^3.0.2",
"typescript": "^4.8.4",
"vsce": "^2.11.0"
},
"dependencies": {
"lodash.debounce": "^4.0.8",
"lru-cache": "^7.14.0",
"mathjs": "^11.3.0"
}
}