-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
301 lines (301 loc) · 12 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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
{
"name": "yarn-spinner",
"displayName": "Yarn Spinner",
"description": "Adds support for the Yarn Spinner dialogue language.",
"version": "2.4.0",
"homepage": "https://yarnspinner.dev",
"repository": "https://github.com/YarnSpinnerTool/VSCodeExtension",
"license": "MIT",
"sponsor": {
"url": "https://patreon.com/secretlab"
},
"languageServerVersion": "c87de1ce04d0590e7e7df1cf82a0b94e9cb72429",
"keywords": [
"yarnspinner",
"narrative",
"branching",
"dialogue"
],
"activationEvents": [
"workspaceContains:**/*.yarn",
"workspaceContains:**/*.yarnproject"
],
"main": "./out/extension.js",
"qna": false,
"publisher": "SecretLab",
"icon": "icon.png",
"galleryBanner": {
"color": "#C5E29B",
"theme": "light"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages"
],
"telemetryKey": "6fafead2-0494-4fc6-a960-90ef5ef8e5c6",
"scripts": {
"vscode:prepublish": "npm run buildProduction",
"buildExtension": "tsc -p ./src/tsconfig.json && cp src/runner.html out/",
"buildWebViewDevelopment": "webpack --mode=development -c ./webview/webpack.config.js",
"buildWebViewProduction": "webpack --mode=production -c ./webview/webpack.config.js",
"buildVSCodeDevelopment": "npm run buildExtension && npm run buildWebViewDevelopment",
"buildVSCodeProduction": "npm run buildExtension && npm run buildWebViewProduction",
"buildServerDevelopment": "env-cmd --no-override -x dotnet build --no-restore -c Debug '$LANGUAGESERVER_CSPROJ_PATH'",
"buildServerProduction": "env-cmd --no-override -x dotnet publish -c Debug -o out/server '$LANGUAGESERVER_CSPROJ_PATH'",
"buildDebug": "concurrently --timings --kill-others-on-fail \"npm:buildVSCodeDevelopment\" \"npm:buildServerDevelopment\"",
"buildProduction": "concurrently --timings --kill-others-on-fail \"npm:buildVSCodeProduction\" \"npm:buildServerProduction\"",
"lint": "eslint . --ext .ts,.tsx",
"test": "tsc -p ./src/tsconfig.json; jest",
"exportLocal": "vsce package"
},
"devDependencies": {
"@interactjs/types": "^1.10.17",
"@types/jest": "^27.0.1",
"@types/node": "^12.12.0",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"antlr4ts-cli": "^0.5.0-alpha.4",
"concurrently": "^7.5.0",
"env-cmd": "^10.1.0",
"eslint": "^7.21.0",
"jest": "^27.1.1",
"jest-each": "^27.1.1",
"leader-line-types": "^1.0.5-2",
"ts-jest": "^27.0.5",
"ts-loader": "^9.4.1",
"typescript": "^4.2.2",
"vsce": "^2.9.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"contributes": {
"menus": {
"editor/title": [
{
"command": "yarnspinner.show-graph",
"group": "navigation",
"when": "editorLangId == yarnspinner"
}
],
"commandPalette": [
{
"command": "yarnspinner.showPreview"
},
{
"command": "yarnspinner.exportPreview"
},
{
"command": "yarnspinner.graph"
}
]
},
"customEditors": [
{
"viewType": "yarnspinner.yarnNodes",
"displayName": "Yarn Spinner",
"selector": [
{
"filenamePattern": "*.{yarn,yarnproject,yarn.txt}"
}
],
"priority": "option"
}
],
"commands": [
{
"command": "yarnspinner.show-graph",
"category": "Yarn Spinner",
"title": "Show Graph",
"enablement": "yarnspinner.languageServerLaunched"
},
{
"command": "yarnspinner.export-spreadsheet",
"category": "Yarn Spinner",
"title": "Export Dialogue as Recording Spreadsheet...",
"enablement": "yarnspinner.languageServerLaunched"
},
{
"command": "yarnspinner.showPreview",
"category": "Yarn Spinner",
"title": "Preview Dialogue",
"enablement": "yarnspinner.languageServerLaunched"
},
{
"command": "yarnspinner.exportPreview",
"category": "Yarn Spinner",
"title": "Export Dialogue as HTML...",
"enablement": "yarnspinner.languageServerLaunched"
},
{
"command": "yarnspinner.graph",
"category": "Yarn Spinner",
"title": "Export Dialogue as Graph...",
"enablement": "yarnspinner.languageServerLaunched"
},
{
"command": "yarnspinner.exportDebugOutput",
"category": "Yarn Spinner",
"title": "Export Debug Output",
"enablement": "config.yarnspinner.enableExperimentalFeatures && yarnspinner.languageServerLaunched"
},
{
"command": "yarnspinner.createProject",
"category": "Yarn Spinner",
"title": "Create New Yarn Project...",
"enablement": "yarnspinner.languageServerLaunched"
}
],
"configurationDefaults": {
"files.associations": {
"*.yarnproject": "jsonc"
}
},
"languages": [
{
"id": "yarnspinner",
"aliases": [
"Yarn Spinner",
"yarnspinner",
"Yarn"
],
"extensions": [
".yarn",
".yarn.txt",
".yarnprogram"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "yarnspinner",
"scopeName": "source.yarnspinner",
"path": "./syntaxes/yarnspinner.tmLanguage.json"
}
],
"snippets": [
{
"language": "yarnspinner",
"path": "./snippets.json"
}
],
"configuration": {
"title": "Yarn Spinner",
"properties": {
"yarnspinner.EnableLanguageServer": {
"order": 1,
"type": "boolean",
"default": true,
"markdownDescription": "If this setting is turned off, language features like errors and code lookup will not be available. Syntax highlighting will remain available. ([Reload the window](command:workbench.action.reloadWindow) to apply changes to this setting.)"
},
"yarnspinner.CSharpLookup": {
"type": "boolean",
"default": true,
"description": "Parse C# files for Commands and Functions."
},
"yarnspinner.DeepCommandLookup": {
"type": "boolean",
"default": true,
"description": "Deeper search for undefined command names"
},
"yarnspinner.OnlySuggestDeclaredVariables": {
"type": "boolean",
"default": true,
"description": "When false, variable suggestions will also include undeclared variables."
},
"yarnspinner.DidYouMeanThreshold": {
"type": "number",
"default": 0.3,
"description": "Controls the cut off for fuzzy string matching in quick fix suggestions."
},
"yarnspinner.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "messages",
"description": "Traces the communication between VSCode and the Yarn Language Server Instance."
},
"yarnspinner.extract.format": {
"type": "string",
"enum": [
"xlsx",
"csv"
],
"enumDescriptions": [
"Export as a Microsoft Excel spreadsheet",
"Export as a Comma-Separated Values spreadsheet"
],
"default": "xlsx",
"description": "The file format to use when exporting a dialogue spreadsheet for voice-over recording."
},
"yarnspinner.extract.columns": {
"type": "array",
"default": [
"character",
"text",
"id"
],
"description": "The list of columns to be exported when exporting a dialogue spreadsheet.\n\nThese will be included in the export in the order presented here. If \"character\", \"text\", \"id\", \"line\", \"file\", \"node\" are included these will be populated with their relevant values."
},
"yarnspinner.extract.defaultCharacter": {
"type": "string",
"default": "Player",
"description": "The name to use to assign a line without an explicit character to a specific character, this is often your player character."
},
"yarnspinner.extract.includeCharacters": {
"type": "boolean",
"default": true,
"markdownDescription": "When exporting a dialogue spreadsheet, separate the character name from the rest of the line.\n\nIf your dialogue does not use character names, turn this setting off to prevent lines that contain a colon (`:`) from being read incorrectly."
},
"yarnspinner.graph.format": {
"type": "string",
"enum": [
"dot",
"mermaid"
],
"enumDescriptions": [
"Export as a DOT graph",
"Export as a mermaid graph"
],
"default": "dot",
"description": "the format of the graph"
},
"yarnspinner.graph.clustering": {
"type": "boolean",
"default": true,
"description": "Should the vertices of the graph be clustered based on file or not"
},
"yarnspinner.enableExperimentalFeatures": {
"type": "boolean",
"default": false,
"description": "Enable experimental Yarn Spinner extension features"
}
}
},
"jsonValidation": [
{
"fileMatch": "*.ysls.json",
"url": "./out/server/ysls.schema.json"
}
]
},
"dependencies": {
"@vscode/codicons": "^0.0.22",
"@vscode/extension-telemetry": "^0.5.2",
"@vscode/webview-ui-toolkit": "^0.8.4",
"antlr4ts": "^0.5.0-alpha.4",
"curved-arrows": "git+https://github.com/desplesda/curved-arrows.git#fa1edc2ad372c7b9ec668af7f0506702129a5ced",
"leader-line": "^1.0.5",
"vscode-jsonrpc": "^8.0.0",
"vscode-languageclient": "^8.0.0"
},
"extensionDependencies": [
"ms-dotnettools.vscode-dotnet-runtime"
]
}