-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
219 lines (219 loc) · 5.76 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
{
"name": "vscode-roblox-ts",
"publisher": "roblox-ts",
"displayName": "roblox-ts",
"description": "A language service plugin that enhances the editing experience in roblox-ts.",
"version": "1.9.1",
"icon": "icon.png",
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/roblox-ts/roblox-ts-extensions"
},
"main": "./out/extension.js",
"activationEvents": [
"workspaceContains:node_modules/@rbxts/compiler-types"
],
"contributes": {
"typescriptServerPlugins": [
{
"name": "roblox-ts-extensions",
"enableForWorkspaceTypeScriptVersions": true
}
],
"commands": [
{
"command": "roblox-ts.openOutput",
"title": "Open Output Path",
"category": "roblox-ts"
},
{
"command": "roblox-ts.start",
"title": "Start Compiler",
"category": "roblox-ts"
},
{
"command": "roblox-ts.stop",
"title": "Stop Compiler",
"category": "roblox-ts"
}
],
"menus": {
"commandPalette": [
{
"command": "roblox-ts.openOutput",
"when": "roblox-ts:inSrcDir"
},
{
"command": "roblox-ts.start",
"when": "!roblox-ts:compilerActive"
},
{
"command": "roblox-ts.stop",
"when": "roblox-ts:compilerActive"
}
]
},
"configuration": {
"title": "roblox-ts",
"properties": {
"roblox-ts.editor.hideDeprecated": {
"type": "boolean",
"default": true,
"description": "Hide deprecated members from intellisense."
},
"roblox-ts.boundary.useRojo": {
"type": "boolean",
"default": true,
"description": "Use rojo to determine client/server paths."
},
"roblox-ts.boundary.mode": {
"type": "string",
"default": "remove",
"enum": [
"remove",
"prefix"
],
"enumDescriptions": [
"Remove cross-boundary imports from intellisense.",
"Prefix cross-boundary imports with their boundary."
]
},
"roblox-ts.boundary.diagnosticsMode": {
"type": "string",
"default": "warning",
"enum": [
"off",
"warning",
"error",
"message"
],
"enumDescriptions": [
"Disable diagnostics for non-type cross-boundary imports.",
"Show a warning for non-type cross-boundary imports.",
"Show an error for non-type cross-boundary imports.",
"Show a message for non-type cross-boundary imports."
]
},
"roblox-ts.boundary.paths.clientPaths": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "The paths to be treated as client-sided directories. Overrides rojo if enabled."
},
"roblox-ts.boundary.paths.serverPaths": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "The paths to be treated as server-sided directories. Overrides rojo if enabled."
},
"roblox-ts.command.status.show": {
"type": "boolean",
"default": true,
"description": "Whether to show the status button."
},
"roblox-ts.command.npm.useNpmScripts": {
"type": "boolean",
"default": false,
"description": "Whether to use the npm scripts rather than rbxtsc, if they exist."
},
"roblox-ts.command.npm.watchScript": {
"type": "string",
"default": "watch",
"description": "The name of the npm watch script that roblox-ts should use."
},
"roblox-ts.command.npm.watchScriptArgs": {
"type": "array",
"default": [
"--"
],
"items": {
"type": "string"
},
"description": "Additional arguments passed to npm run. Arguments after the `--` will be passed directly to the npm script."
},
"roblox-ts.command.parameters": {
"type": "array",
"default": [
"-w"
],
"items": {
"type": "string"
},
"description": "The parameters to be passed into the command triggered from the status bar, except when using npm scripts."
},
"roblox-ts.command.development": {
"type": "boolean",
"default": false,
"description": "If enabled, this will use rbxtsc-dev instead of rbxtsc."
},
"roblox-ts.colorPicker.enabled": {
"type": "boolean",
"default": true,
"description": "If enabled, this will enable the color picker. (reload required)"
},
"roblox-ts.colorPicker.precision": {
"type": "number",
"default": 2,
"description": "The amount of digits to round to while using the color picker."
},
"roblox-ts.colorPicker.defaultOption": {
"type": "string",
"default": "fromRGB",
"enum": [
"fromRGB",
"fromHSV",
"new"
],
"enumDescriptions": [
"Use Color3.fromRGB() as the default in the color picker",
"Use Color3.fromHSV() as the default in the color picker",
"Use new Color3() as the default in the color picker"
]
},
"roblox-ts.openOutputToSide": {
"type": "boolean",
"default": true,
"description": "Determines whether the Open Output command will open the editor to the side."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chroma-js": "^2.1.3",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.20.1",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"vscode-test": "^1.4.1"
},
"dependencies": {
"@roblox-ts/path-translator": "^1.1.0",
"chroma-js": "^2.1.1",
"roblox-ts-extensions": "^1.8.1",
"tree-kill": "^1.2.2",
"typescript": "^5.4.5"
}
}