-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
117 lines (117 loc) · 3.54 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
{
"name": "coc-sh",
"version": "1.1.0",
"description": "sh extension for coc",
"author": "josa@gesell.me",
"license": "MIT",
"main": "lib/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/josa42/coc-sh.git"
},
"engines": {
"coc": "^0.0.82",
"node": ">=16"
},
"keywords": [
"coc.nvim",
"languageserver",
"bash-language-server",
"sh",
"bash"
],
"scripts": {
"clean": "rimraf lib",
"build": "tsc -p tsconfig.json",
"build:watch": "tsc --watch -p tsconfig.json",
"prepare": "npm run clean && npm run build",
"lint": "eslint . --ext .ts,.js",
"test": "npm run lint"
},
"activationEvents": [
"onLanguage:sh",
"onCommand:sh.version"
],
"contributes": {
"configuration": {
"type": "object",
"title": "sh",
"properties": {
"sh.enable": {
"type": "boolean",
"default": true
},
"sh.commandPath": {
"type": "string"
},
"bashIde.backgroundAnalysisMaxFiles": {
"type": "number",
"default": 500,
"description": "Maximum number of files to analyze in the background. Set to 0 to disable background analysis.",
"minimum": 0
},
"bashIde.explainshellEndpoint": {
"type": "string",
"default": "",
"description": "Configure explainshell server endpoint in order to get hover documentation on flags and options."
},
"bashIde.globPattern": {
"type": "string",
"default": "**/*@(.sh|.inc|.bash|.command)",
"description": "Glob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files."
},
"bashIde.includeAllWorkspaceSymbols": {
"type": "boolean",
"default": false,
"description": "Controls how symbols (e.g. variables and functions) are included and used for completion and documentation. If false (default and recommended), then we only include symbols from sourced files (i.e. using non dynamic statements like 'source file.sh' or '. file.sh'). If true, then all symbols from the workspace are included."
},
"bashIde.logLevel": {
"type": "string",
"default": "info",
"enum": [
"debug",
"info",
"warning",
"error"
],
"description": "Controls the log level of the language server."
},
"bashIde.shellcheckPath": {
"type": "string",
"default": "shellcheck",
"description": "Controls the executable used for ShellCheck linting information. An empty string will disable linting."
},
"bashIde.shellcheckArguments": {
"type": "string",
"default": "",
"description": "Additional ShellCheck arguments. Note that we already add the following arguments: --shell, --format, --external-sources."
}
}
},
"commands": [
{
"command": "sh.version",
"title": "Print extension version"
}
],
"snippets": [
{
"language": "sh",
"path": "./snippets/sh.json"
}
]
},
"devDependencies": {
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"coc.nvim": "0.0.82",
"eslint": "^8.34.0",
"rimraf": "^4.1.2",
"typescript": "^4.9.5"
},
"dependencies": {
"bash-language-server": "^4.8.2",
"tslib": "^2.5.0"
}
}