-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
186 lines (186 loc) · 5.22 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
{
"name": "vscode-glsllint",
"version": "1.9.0",
"publisher": "dtoplak",
"repository": {
"type": "git",
"url": "https://github.com/hsimpson/vscode-glsllint.git"
},
"engines": {
"vscode": "^1.38.0"
},
"license": "MIT",
"displayName": "GLSL Lint",
"description": "Linting of GLSL shader code",
"categories": [
"Programming Languages",
"Linters"
],
"keywords": [
"GLSL",
"Shader",
"Fragment shader",
"OpenGL",
"WebGL",
"OpenGL Shading Language",
"Vulkan"
],
"icon": "icon.png",
"extensionDependencies": [
"slevesque.shader"
],
"activationEvents": [
"*"
],
"main": "./dist/extension",
"contributes": {
"languages": [
{
"id": "glsl",
"aliases": [
"GLSL"
],
"extensions": [
".vert",
".tesc",
".tese",
".geom",
".frag",
".comp",
".rgen",
".rint",
".rahit",
".rchit",
".rmiss",
".rcall",
".mesh",
".task"
]
}
],
"configuration": {
"type": "object",
"title": "GLSL Lint",
"properties": {
"glsllint.glslangValidatorPath": {
"scope": "machine",
"type": "string",
"default": "",
"description": "The path to the glslangValidator executable"
},
"glsllint.glslangValidatorArgs": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Arguments for the glslangValidator executable"
},
"glsllint.glslifyPattern": {
"type": "string",
"default": "#pragma glslify:",
"description": "Regex pattern for glslify pragma"
},
"glsllint.glslifyAutoOpenOnError": {
"type": "boolean",
"default": true,
"description": "Opens the glslified code when there is a linting error"
},
"glsllint.glslifyOptions": {
"type": "object",
"default": {},
"description": "Specify glslify options used in glslify.compile if basedir is not set then the workspace root path is used"
},
"glsllint.glslifyUseCurrentFileAsBasedir": {
"type": "boolean",
"default": false,
"description": "Use the current file as the basedir for glslify"
},
"glsllint.additionalStageAssociations": {
"type": "object",
"default": {},
"description": "Add another extension -> stage mapping (e.g.: \".vert\": \"vert\""
},
"glsllint.fallBackStage": {
"type": "string",
"default": "",
"description": "Fallback stage for when the shader stage could not be decuted"
},
"glsllint.supportedLangsWithStringLiterals": {
"type": "array",
"default": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"elm"
],
"description": "VSCode language id's to support for string literal validation"
},
"glsllint.languageSettings": {
"type": "object",
"description": "Language specific settings",
"default": {
"javascript": {
"parser": "TSAST"
},
"javascriptreact": {
"parser": "TSAST"
},
"typescript": {
"parser": "TSAST"
},
"typescriptreact": {
"parser": "TSAST"
},
"elm": {
"parser": "REGEX",
"patternStart": "\\[glsl",
"patternEnd": "\\|\\]"
}
}
},
"glsllint.linkShader": {
"type": "boolean",
"default": true,
"description": "Link all input files together to form a single module ('-l' option for glslangValidator, used for includes)"
},
"glsllint.useIncludeDirOfFile": {
"type": "boolean",
"default": true,
"description": "Add -I[DIR_OF_FILE] to the glslangValidator command"
}
}
}
},
"scripts": {
"package": "vsce package",
"vscode:prepublish": "webpack --config ./webpack.config.ts --mode production",
"webpack": "webpack --config ./webpack.config.ts --mode development",
"webpack-dev": "webpack --config ./webpack.config.ts --mode development --watch",
"test-compile": "tsc -p ./",
"test": "webpack --config ./webpack.config.ts --mode production && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/node": "^20.12.7",
"@types/vscode": "1.38.0",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@typescript-eslint/typescript-estree": "^7.7.1",
"eslint": "^9.1.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"vsce": "^2.15.0",
"vscode-test": "^1.6.1",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"glslify": "^7.1.1",
"typescript": "^4.6.3"
}
}