forked from stevensona/shader-toy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
223 lines (223 loc) · 9.21 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
222
223
{
"name": "shader-toy",
"displayName": "Shader Toy",
"description": "Live preview of GLSL shaders similar to shadertoy",
"version": "0.10.13",
"publisher": "stevensona",
"license": "MIT",
"repository": {
"url": "https://github.com/stevensona/shader-toy.git"
},
"bugs": {
"url": "https://github.com/stevensona/shader-toy/issues"
},
"engines": {
"vscode": "^1.40.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:shader-toy.showGlslPreview",
"onCommand:shader-toy.showStaticGlslPreview",
"onCommand:shader-toy.createPortableGlslPreview"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"properties": {
"shader-toy.forceAspectRatio": {
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
],
"default": [
0,
0
],
"description": "Force the rendering into a specific aspect ratio. Set either to zero or negative to ignore."
},
"shader-toy.showCompileErrorsAsDiagnostics": {
"type": "boolean",
"default": true,
"description": "Show all compile errors directly in the editor as diagnostics."
},
"shader-toy.omitDeprecationWarnings": {
"type": "boolean",
"default": false,
"description": "Omit warnings when using a deprecated feature, replacing those with a single warning on activating the extension. Be careful with this setting, as shaders might break unpredictably in future updates."
},
"shader-toy.enableGlslifySupport": {
"type": "boolean",
"default": false,
"description": "Enable support for glslify, which will transform shader code after all transformations this extension does. Line numbers for errors are currently disable when this option is enabled."
},
"shader-toy.reloadAutomatically": {
"type": "boolean",
"default": true,
"description": "Master switch for all automatic reloads."
},
"shader-toy.reloadOnEditText": {
"type": "boolean",
"default": true,
"description": "Reload OpenGL viewport when the opened file contents are changed."
},
"shader-toy.reloadOnEditTextDelay": {
"type": "number",
"default": 1,
"description": "Delay in seconds between an edit of the opened file and the reload of OpenGL viewport."
},
"shader-toy.reloadOnChangeEditor": {
"type": "boolean",
"default": false,
"description": "Reload OpenGL viewport when editor changes."
},
"shader-toy.resetStateOnChangeEditor": {
"type": "boolean",
"default": true,
"description": "Reset state of time, mouse and keyboard when reloading OpenGL viewport through an editor change."
},
"shader-toy.showScreenshotButton": {
"type": "boolean",
"default": true,
"description": "Shows a screenshot button in the OpenGL viewport which allows to save the current frame as a png file."
},
"shader-toy.screenshotResolution": {
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
],
"default": [
0,
0
],
"description": "Manually set the resolution of a screenshot. Set either to zero or negative to use the viewports resolution."
},
"shader-toy.showPauseButton": {
"type": "boolean",
"default": true,
"description": "Shows a pause button in the OpenGL viewport which allows to pause the rendering."
},
"shader-toy.pauseWholeRender": {
"type": "boolean",
"default": true,
"description": "Determines whether pausing will pause only time thus still render and allow input, or pause everything."
},
"shader-toy.printShaderFrameTime": {
"type": "boolean",
"default": true,
"description": "Display shader frame time graph in corner of display."
},
"shader-toy.warnOnUndefinedTextures": {
"type": "boolean",
"default": true,
"description": "If enabled the user is warned when a channel is used in code but there is no definition for said channel, likely resulting in a bug in the shader."
},
"shader-toy.enabledAudioInput": {
"type": "boolean",
"default": false,
"description": "Allow using media files as inputs in shaders. Note that the feature is experimental and should be used with caution."
},
"shader-toy.audioDomainSize": {
"type": "number",
"default": 512,
"description": "Size of the domain used for four transformation when using audio as an input."
},
"shader-toy.shaderToyStrictCompatibility": {
"type": "boolean",
"default": false,
"description": "This setting will assume your shaders follow the standards set on the online version of ShaderToy, e.g. you have a mainImage function defined. Use this if you have issues with shaders from shadertoy.com in the VSCode extension, but not if you regularly use shaders defining a regular main function."
}
}
},
"commands": [
{
"command": "shader-toy.showGlslPreview",
"title": "Shader Toy: Show GLSL Preview"
},
{
"command": "shader-toy.showStaticGlslPreview",
"title": "Shader Toy: Show Static GLSL Preview"
},
{
"command": "shader-toy.createPortableGlslPreview",
"title": "Shader Toy: Create Portable GLSL Preview"
},
{
"command": "shader-toy.pauseGlslPreviews",
"title": "Shader Toy: Pause/Play GLSL Previews"
},
{
"command": "shader-toy.saveGlslPreviewScreenShots",
"title": "Shader Toy: Save GLSL Preview Screenshots"
}
],
"menus": {
"editor/context": [
{
"command": "shader-toy.showGlslPreview",
"group": "ShaderToy-Core"
},
{
"command": "shader-toy.showStaticGlslPreview",
"group": "ShaderToy-Core"
},
{
"command": "shader-toy.createPortableGlslPreview",
"group": "ShaderToy"
},
{
"command": "shader-toy.pauseGlslPreviews",
"group": "ShaderToy"
},
{
"command": "shader-toy.saveGlslPreviewScreenShots",
"group": "ShaderToy"
}
]
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"pretest": "npm run compile",
"test": "node ./out/test/run_tests.js",
"deploy": "vsce publish"
},
"dependencies": {
"@types/glob": "^7.1.1",
"compare-versions": "^3.6.0",
"glob": "^7.1.6",
"glslify": "^7.0.0",
"mime": "^2.4.5"
},
"devDependencies": {
"@types/compare-versions": "^3.3.0",
"@types/mime": "^2.0.2",
"@types/mocha": "^2.2.42",
"@types/node": "^10.17.21",
"@types/vscode": "^1.40.0",
"mocha": "^7.2.0",
"ts-loader": "^6.2.2",
"tslint": "^5.20.1",
"typescript": "^3.9.2",
"vsce": "^1.81.1",
"vscode-test": "^1.4.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"icon": "resources/thumb.png"
}