-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
221 lines (221 loc) · 7.16 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
209
210
211
212
213
214
215
216
217
218
219
220
221
{
"name": "manim-sideview",
"displayName": "Manim Sideview",
"icon": "assets/images/logo.png",
"description": "Video/Image live previews and code snippets for manim.",
"repository": {
"url": "https://github.com/Rickaym/Manim-Sideview",
"type": "git",
"directory": "src"
},
"author": {
"name": "Ricky",
"url": "https://github.com/Rickaym"
},
"version": "0.2.15",
"publisher": "Rickaym",
"engines": {
"vscode": "^1.68.0"
},
"categories": [
"Visualization",
"Other"
],
"keywords": [
"manim",
"animations",
"manim sideview"
],
"activationEvents": [
"onCommand:manim-sideview.run",
"onCommand:manim-sideview.stop",
"onCommand:manim-sideview.removeAllJobs",
"onCommand:manim-sideview.removeCurrentJob",
"onCommand:manim-sideview.renderNewScene",
"onCommand:manim-sideview.showMobjectGallery",
"onCommand:manim-sideview.syncMobjectGallery",
"onCommand:manim-sideview.updateDefaultManimConfig",
"onCommand:manim-sideview.showOutputChannel",
"onCommand:manim-sideview.showExtensionManimConfig",
"onCommand:manim-sideview.showManimExecTerminal"
],
"extensionDependencies": [
"ms-python.python"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"properties": {
"manim-sideview.defaultManimPath": {
"type": "string",
"default": "manim",
"description": "Specify the absolute path to the Manim executable file."
},
"manim-sideview.commandLineArgs": {
"type": "string",
"description": "Input additional command line arguments for Manim. Refer to Manim documentation for options. Use the config file for quality args like 'ql'."
},
"manim-sideview.runOnSave": {
"type": "boolean",
"default": "false",
"description": "Enable or disable the automatic running of a previously run file upon saving."
},
"manim-sideview.focusOutputOnRun": {
"type": "boolean",
"default": "true",
"description": "Determine if the output panel should gain focus automatically upon running."
},
"manim-sideview.previewShowProgressOnIdle": {
"type": "boolean",
"default": "true",
"description": "Choose whether to show the video progress bar in the player while the job is idle."
},
"manim-sideview.previewProgressColor": {
"type": "string",
"default": "textLink.foreground",
"description": "Define the progress bar color, using either hex codes (e.g., `#F1F1F1`) or theme color names (e.g., `button.border`)."
},
"manim-sideview.previewAutoPlay": {
"type": "boolean",
"default": "true",
"description": "Decide whether to automatically play the video or not when it is ready."
},
"manim-sideview.previewLooping": {
"type": "boolean",
"default": "true",
"description": "Enable or disable continuous looping of the video preview."
},
"manim-sideview.outputToTerminal": {
"type": "boolean",
"default": "true",
"description": "Toggle between sending output to a terminal (true) or to an output channel (false)."
},
"manim-sideview.manimExecutableVersion": {
"type": "string",
"default": "v0.16.0.post0",
"description": "Specify the version of the Manim executable used by the extension."
},
"manim-sideview.terminalCommand": {
"type": "string",
"description": "Define a terminal command to run post-render. Use variables: {outputPath}, {sourcePath}, and {sceneName} as needed."
},
"manim-sideview.preview": {
"type": "boolean",
"default": "true",
"description": "Display the preview after rendering. This should be enabled at all times except for when you're using the extension solely to render."
},
"manim-sideview.checkeredBackground": {
"type": "boolean",
"default": "true",
"description": "Show a checkered background behind the video preview."
}
}
},
"menus": {
"editor/title": [
{
"command": "manim-sideview.run",
"when": "editorIsOpen && editorLangId == python",
"group": "navigation"
}
]
},
"commands": [
{
"command": "manim-sideview.run",
"title": "Manim: Runs a Sideview",
"icon": {
"light": "./assets/images/rotation.png",
"dark": "./assets/images/rotation.png"
}
},
{
"command": "manim-sideview.stop",
"title": "Manim: Terminate Running Processes"
},
{
"command": "manim-sideview.removeAllJobs",
"title": "Manim: Clear All Active Jobs"
},
{
"command": "manim-sideview.removeCurrentJob",
"title": "Manim: Cancel Active Job of Current File"
},
{
"command": "manim-sideview.renderNewScene",
"title": "Manim: Render a New Scene"
},
{
"command": "manim-sideview.showMobjectGallery",
"title": "Manim: Open Mobject Gallery"
},
{
"command": "manim-sideview.syncMobjectGallery",
"title": "Manim: Find Mobject Gallery Updates"
},
{
"command": "manim-sideview.updateDefaultManimConfig",
"title": "Manim: Sync Internal Manim Config with Local Executable"
},
{
"command": "manim-sideview.showOutputChannel",
"title": "Manim: Show Output Channel"
},
{
"command": "manim-sideview.showExtensionManimConfig",
"title": "Manim: Show Internal Manim Config"
},
{
"command": "manim-sideview.showManimExecTerminal",
"title": "Manim: Show Internal Execution Terminal"
}
],
"keybindings": [
{
"command": "manim-sideview.run",
"key": "ctrl+' r",
"when": "editorFocus"
},
{
"command": "manim-sideview.stop",
"key": "ctrl+' x",
"when": "editorFocus"
},
{
"command": "manim-sideview.renderNewScene",
"key": "ctrl+' c"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"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": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.68.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.56.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@vscode/python-extension": "^1.0.5",
"axios": "^1.3.2",
"configparser": "^0.3.10",
"yaml": "^2.2.1"
}
}