Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / package.json
1 {
2   "name": "coc-tsserver",
3   "version": "1.6.5",
4   "description": "tsserver extension for coc.nvim",
5   "main": "lib/index.js",
6   "publisher": "chemzqm",
7   "engines": {
8     "coc": "^0.0.79"
9   },
10   "repository": {
11     "type": "git",
12     "url": "https://github.com/neoclide/coc-tsserver.git"
13   },
14   "keywords": [
15     "coc.nvim",
16     "tsserver",
17     "typescript"
18   ],
19   "scripts": {
20     "clean": "rimraf lib",
21     "build": "webpack",
22     "prepare": "webpack"
23   },
24   "activationEvents": [
25     "onLanguage:javascript",
26     "onLanguage:javascriptreact",
27     "onLanguage:javascript.jsx",
28     "onLanguage:typescript",
29     "onLanguage:typescript.tsx",
30     "onLanguage:typescript.jsx",
31     "onLanguage:typescriptreact",
32     "onLanguage:jsx-tags",
33     "onLanguage:jsonc",
34     "onCommand:_typescript.configurePlugin",
35     "onCommand:typescript.reloadProjects",
36     "onCommand:javascript.reloadProjects",
37     "onCommand:javascript.goToProjectConfig",
38     "onCommand:typescript.goToProjectConfig",
39     "onCommand:typescript.openTsServerLog",
40     "onCommand:tsserver.watchBuild"
41   ],
42   "contributes": {
43     "rootPatterns": [
44       {
45         "filetype": "javascript",
46         "patterns": [
47           "package.json",
48           "jsconfig.json"
49         ]
50       },
51       {
52         "filetype": "javascriptreact",
53         "patterns": [
54           "package.json",
55           "jsconfig.json"
56         ]
57       },
58       {
59         "filetype": "typescript",
60         "patterns": [
61           "package.json",
62           "tsconfig.json"
63         ]
64       },
65       {
66         "filetype": "typescriptreact",
67         "patterns": [
68           "package.json",
69           "tsconfig.json"
70         ]
71       }
72     ],
73     "commands": [
74       {
75         "title": "Reload current project",
76         "category": "TSServer",
77         "command": "tsserver.reloadProjects"
78       },
79       {
80         "title": "Open log file of tsserver.",
81         "category": "TSServer",
82         "command": "tsserver.openTsServerLog"
83       },
84       {
85         "title": "Open project config file.",
86         "category": "TSServer",
87         "command": "tsserver.goToProjectConfig"
88       },
89       {
90         "title": "Restart tsserver",
91         "category": "TSServer",
92         "command": "tsserver.restart"
93       },
94       {
95         "title": "Run `tsc --watch` for current project by use vim's job feature.",
96         "category": "TSServer",
97         "command": "tsserver.watchBuild"
98       },
99       {
100         "title": "Fix autofixable problems of current document.",
101         "category": "TSServer",
102         "command": "tsserver.executeAutofix"
103       }
104     ],
105     "configuration": {
106       "type": "object",
107       "title": "Tsserver",
108       "properties": {
109         "tsserver.enable": {
110           "type": "boolean",
111           "default": true,
112           "description": "Enable tsserver extension"
113         },
114         "tsserver.locale": {
115           "type": [
116             "string",
117             "null"
118           ],
119           "default": null,
120           "description": "Sets the locale used to report JavaScript and TypeScript errors. Default of `null` uses english."
121         },
122         "tsserver.typingsCacheLocation": {
123           "type": "string",
124           "default": "",
125           "description": "Folder path for cache typings"
126         },
127         "tsserver.formatOnType": {
128           "type": "boolean",
129           "default": true,
130           "description": "Run format on type special characters."
131         },
132         "tsserver.enableJavascript": {
133           "type": "boolean",
134           "default": true,
135           "description": "Use tsserver for javascript files"
136         },
137         "tsserver.ignoreLocalTsserver": {
138           "type": "boolean",
139           "default": false,
140           "description": "Always use tsserver module from tsserver.tsdk or tsserver extension."
141         },
142         "tsserver.maxTsServerMemory": {
143           "type": "number",
144           "default": 0,
145           "description": "Set the maximum amount of memory to allocate to the TypeScript server process"
146         },
147         "tsserver.watchOptions": {
148           "type": "object",
149           "description": "Configure which watching strategies should be used to keep track of files and directories. Requires using TypeScript 3.8+ in the workspace.",
150           "properties": {
151             "watchFile": {
152               "type": "string",
153               "description": "Strategy for how individual files are watched.",
154               "enum": [
155                 "fixedPollingInterval",
156                 "priorityPollingInterval",
157                 "dynamicPriorityPolling",
158                 "useFsEvents",
159                 "useFsEventsOnParentDirectory"
160               ],
161               "default": "useFsEvents"
162             },
163             "watchDirectory": {
164               "type": "string",
165               "description": "Strategy for how entire directory trees are watched under systems that lack recursive file-watching functionality.",
166               "enum": [
167                 "fixedPollingInterval",
168                 "dynamicPriorityPolling",
169                 "useFsEvents"
170               ],
171               "default": "useFsEvents"
172             },
173             "fallbackPolling": {
174               "type": "string",
175               "description": "When using file system events, this option specifies the polling strategy that gets used when the system runs out of native file watchers and/or doesn’t support native file watchers.",
176               "enum": [
177                 "fixedPollingInterval",
178                 "priorityPollingInterval",
179                 "dynamicPriorityPolling"
180               ]
181             },
182             "synchronousWatchDirectory": {
183               "type": "boolean",
184               "description": "Disable deferred watching on directories. Deferred watching is useful when lots of file changes might occur at once (e.g. a change in node_modules from running npm install), but you might want to disable it with this flag for some less-common setups."
185             }
186           }
187         },
188         "tsserver.tsdk": {
189           "type": "string",
190           "default": "",
191           "description": "Directory contains tsserver.js,"
192         },
193         "tsserver.npm": {
194           "type": "string",
195           "default": "",
196           "description": "Executable path of npm for download typings"
197         },
198         "tsserver.log": {
199           "type": "string",
200           "default": "off",
201           "enum": [
202             "normal",
203             "terse",
204             "verbose",
205             "off"
206           ],
207           "description": "Log level of tsserver"
208         },
209         "tsserver.trace.server": {
210           "type": "string",
211           "default": "off",
212           "enum": [
213             "off",
214             "messages",
215             "verbose"
216           ],
217           "description": "Trace level of tsserver"
218         },
219         "tsserver.pluginPaths": {
220           "type": "array",
221           "default": [],
222           "items": {
223             "type": "string"
224           },
225           "description": "Folders contains tsserver plugins"
226         },
227         "tsserver.debugPort": {
228           "type": "number",
229           "description": "Debug port number of tsserver"
230         },
231         "tsserver.reportStyleChecksAsWarnings": {
232           "type": "boolean",
233           "default": true
234         },
235         "tsserver.implicitProjectConfig.checkJs": {
236           "type": "boolean",
237           "default": false,
238           "description": "Enable checkJs for implicit project"
239         },
240         "tsserver.implicitProjectConfig.experimentalDecorators": {
241           "type": "boolean",
242           "default": false,
243           "description": "Enable experimentalDecorators for implicit project"
244         },
245         "tsserver.disableAutomaticTypeAcquisition": {
246           "type": "boolean",
247           "default": false,
248           "description": "Disable download of typings"
249         },
250         "tsserver.useBatchedBufferSync": {
251           "type": "boolean",
252           "default": true,
253           "description": "Use batched buffer sync support."
254         },
255         "typescript.showUnused": {
256           "type": "boolean",
257           "default": true,
258           "description": "Show unused variable hint."
259         },
260         "typescript.updateImportsOnFileMove.enable": {
261           "type": "boolean",
262           "default": true,
263           "description": "Enable update imports on file move."
264         },
265         "typescript.implementationsCodeLens.enable": {
266           "type": "boolean",
267           "default": true,
268           "description": "Enable codeLens for implementations"
269         },
270         "typescript.referencesCodeLens.enable": {
271           "type": "boolean",
272           "default": true,
273           "description": "Enable codeLens for references"
274         },
275         "typescript.preferences.importModuleSpecifier": {
276           "type": "string",
277           "default": "auto",
278           "description": "Preferred path style for auto imports.",
279           "enum": [
280             "non-relative",
281             "relative",
282             "auto"
283           ]
284         },
285         "typescript.preferences.importModuleSpecifierEnding": {
286           "type": "string",
287           "enum": [
288             "auto",
289             "minimal",
290             "index",
291             "js"
292           ],
293           "default": "auto",
294           "description": "Preferred path ending for auto imports.",
295           "scope": "resource"
296         },
297         "typescript.preferences.quoteStyle": {
298           "type": "string",
299           "default": "auto",
300           "enum": [
301             "auto",
302             "single",
303             "double"
304           ]
305         },
306         "typescript.preferences.useAliasesForRenames": {
307           "type": "boolean",
308           "default": true,
309           "description": "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.",
310           "scope": "resource"
311         },
312         "typescript.suggestionActions.enabled": {
313           "type": "boolean",
314           "default": true,
315           "description": "Enable/disable suggestion diagnostics for TypeScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace."
316         },
317         "typescript.validate.enable": {
318           "type": "boolean",
319           "default": true,
320           "description": "Enable/disable TypeScript validation."
321         },
322         "typescript.suggest.enabled": {
323           "type": "boolean",
324           "default": true
325         },
326         "typescript.suggest.paths": {
327           "type": "boolean",
328           "default": true,
329           "description": "Enable/disable suggest paths in import statement and require calls"
330         },
331         "typescript.suggest.autoImports": {
332           "type": "boolean",
333           "default": true,
334           "description": "Enable/disable auto import suggests."
335         },
336         "typescript.suggest.completeFunctionCalls": {
337           "type": "boolean",
338           "default": true,
339           "description": "Enable snippet for method suggestion"
340         },
341         "typescript.format.enabled": {
342           "type": "boolean",
343           "default": true,
344           "description": "Enable format for typescript."
345         },
346         "typescript.format.insertSpaceAfterCommaDelimiter": {
347           "type": "boolean",
348           "default": true
349         },
350         "typescript.format.insertSpaceAfterConstructor": {
351           "type": "boolean",
352           "default": false
353         },
354         "typescript.format.insertSpaceAfterSemicolonInForStatements": {
355           "type": "boolean",
356           "default": true
357         },
358         "typescript.format.insertSpaceBeforeAndAfterBinaryOperators": {
359           "type": "boolean",
360           "default": true
361         },
362         "typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
363           "type": "boolean",
364           "default": true
365         },
366         "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
367           "type": "boolean",
368           "default": true
369         },
370         "typescript.format.insertSpaceBeforeFunctionParenthesis": {
371           "type": "boolean",
372           "default": false
373         },
374         "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
375           "type": "boolean",
376           "default": false
377         },
378         "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
379           "type": "boolean",
380           "default": false
381         },
382         "typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
383           "type": "boolean",
384           "default": false
385         },
386         "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
387           "type": "boolean",
388           "default": false
389         },
390         "typescript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
391           "type": "boolean",
392           "default": false
393         },
394         "typescript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
395           "type": "boolean",
396           "default": false
397         },
398         "typescript.format.insertSpaceAfterTypeAssertion": {
399           "type": "boolean",
400           "default": false
401         },
402         "typescript.format.placeOpenBraceOnNewLineForFunctions": {
403           "type": "boolean",
404           "default": false
405         },
406         "typescript.format.placeOpenBraceOnNewLineForControlBlocks": {
407           "type": "boolean",
408           "default": false
409         },
410         "typescript.format.semicolons": {
411           "type": "string",
412           "default": "ignore",
413           "description": "Defines handling of optional semicolons. Requires using TypeScript 3.7 or newer in the workspace.",
414           "scope": "resource",
415           "enum": [
416             "ignore",
417             "insert",
418             "remove"
419           ]
420         },
421         "typescript.suggest.includeAutomaticOptionalChainCompletions": {
422           "type": "boolean",
423           "default": true,
424           "description": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires TS 3.7+ and strict null checks to be enabled.",
425           "scope": "resource"
426         },
427         "typescript.workspaceSymbols.scope": {
428           "type": "string",
429           "enum": [
430             "allOpenProjects",
431             "currentProject"
432           ],
433           "default": "allOpenProjects",
434           "scope": "window"
435         },
436         "javascript.showUnused": {
437           "type": "boolean",
438           "default": true,
439           "description": "Show unused variable hint."
440         },
441         "javascript.updateImportsOnFileMove.enable": {
442           "type": "boolean",
443           "default": true
444         },
445         "javascript.implementationsCodeLens.enable": {
446           "type": "boolean",
447           "default": true
448         },
449         "javascript.referencesCodeLens.enable": {
450           "type": "boolean",
451           "default": true
452         },
453         "javascript.preferences.importModuleSpecifier": {
454           "type": "string",
455           "default": "auto",
456           "description": "Preferred path style for auto imports.",
457           "enum": [
458             "auto",
459             "non-relative",
460             "relative"
461           ]
462         },
463         "javascript.preferences.importModuleSpecifierEnding": {
464           "type": "string",
465           "enum": [
466             "auto",
467             "minimal",
468             "index",
469             "js"
470           ],
471           "default": "auto",
472           "description": "Preferred path ending for auto imports.",
473           "scope": "resource"
474         },
475         "javascript.preferences.quoteStyle": {
476           "type": "string",
477           "default": "auto",
478           "enum": [
479             "auto",
480             "single",
481             "double"
482           ]
483         },
484         "javascript.preferences.useAliasesForRenames": {
485           "type": "boolean",
486           "default": true,
487           "description": "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.",
488           "scope": "resource"
489         },
490         "javascript.validate.enable": {
491           "type": "boolean",
492           "default": true,
493           "description": "Enable/disable JavaScript validation."
494         },
495         "javascript.suggestionActions.enabled": {
496           "type": "boolean",
497           "default": true,
498           "description": "Enable/disable suggestion diagnostics for JavaScript files in the editor. Requires using TypeScript 2.8 or newer in the workspace."
499         },
500         "javascript.suggest.names": {
501           "type": "boolean",
502           "default": true
503         },
504         "javascript.suggest.enabled": {
505           "type": "boolean",
506           "default": true
507         },
508         "javascript.suggest.paths": {
509           "type": "boolean",
510           "default": true,
511           "description": "Enable/disable suggest paths in import statement and require calls"
512         },
513         "javascript.suggest.autoImports": {
514           "type": "boolean",
515           "default": true,
516           "description": "Enable/disable auto import suggests."
517         },
518         "javascript.suggest.completeFunctionCalls": {
519           "type": "boolean",
520           "default": true,
521           "description": "Enable snippet for method suggestion"
522         },
523         "javascript.format.enabled": {
524           "type": "boolean",
525           "default": true,
526           "description": "Enable format for javascript."
527         },
528         "javascript.format.insertSpaceAfterCommaDelimiter": {
529           "type": "boolean",
530           "default": true
531         },
532         "javascript.format.insertSpaceAfterConstructor": {
533           "type": "boolean",
534           "default": false
535         },
536         "javascript.format.insertSpaceAfterSemicolonInForStatements": {
537           "type": "boolean",
538           "default": true
539         },
540         "javascript.format.insertSpaceBeforeAndAfterBinaryOperators": {
541           "type": "boolean",
542           "default": true
543         },
544         "javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": {
545           "type": "boolean",
546           "default": true
547         },
548         "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": {
549           "type": "boolean",
550           "default": true
551         },
552         "javascript.format.insertSpaceBeforeFunctionParenthesis": {
553           "type": "boolean",
554           "default": false
555         },
556         "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": {
557           "type": "boolean",
558           "default": false
559         },
560         "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": {
561           "type": "boolean",
562           "default": false
563         },
564         "javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": {
565           "type": "boolean",
566           "default": false
567         },
568         "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": {
569           "type": "boolean",
570           "default": false
571         },
572         "javascript.format.insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": {
573           "type": "boolean",
574           "default": false
575         },
576         "javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": {
577           "type": "boolean",
578           "default": false
579         },
580         "javascript.format.insertSpaceAfterTypeAssertion": {
581           "type": "boolean",
582           "default": false
583         },
584         "javascript.format.placeOpenBraceOnNewLineForFunctions": {
585           "type": "boolean",
586           "default": false
587         },
588         "javascript.format.placeOpenBraceOnNewLineForControlBlocks": {
589           "type": "boolean",
590           "default": false
591         },
592         "javascript.suggest.includeAutomaticOptionalChainCompletions": {
593           "type": "boolean",
594           "default": true,
595           "description": "%configuration.suggest.includeAutomaticOptionalChainCompletions%",
596           "scope": "resource"
597         },
598         "javascript.format.semicolons": {
599           "type": "string",
600           "default": "ignore",
601           "description": "Defines handling of optional semicolons. Requires using TypeScript 3.7 or newer in the workspace.",
602           "scope": "resource",
603           "enum": [
604             "ignore",
605             "insert",
606             "remove"
607           ]
608         }
609       }
610     },
611     "snippets": [
612       {
613         "language": "typescript",
614         "path": "./snippets/typescript.json"
615       },
616       {
617         "language": "typescriptreact",
618         "path": "./snippets/typescript.json"
619       }
620     ]
621   },
622   "author": "chemzqm@gmail.com",
623   "license": "MIT",
624   "devDependencies": {
625     "@types/node": "^10.12.0",
626     "coc.nvim": "^0.0.79",
627     "rimraf": "^3.0.2",
628     "semver": "^7.3.2",
629     "ts-loader": "^8.0.1",
630     "vscode-languageserver-protocol": "^3.15.3",
631     "vscode-languageserver-textdocument": "^1.0.1",
632     "webpack": "^4.43.0",
633     "webpack-cli": "^3.3.12",
634     "which": "^2.0.2"
635   },
636   "dependencies": {
637     "typescript": "4.1.2"
638   }
639 }