108 lines
2.5 KiB
JSON
108 lines
2.5 KiB
JSON
{
|
|
"name": "coc-sh",
|
|
"version": "0.6.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.73"
|
|
},
|
|
"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": "yarn clean && yarn build",
|
|
"lint": "eslint . --ext .ts,.js",
|
|
"link": "coc-dev link",
|
|
"unlink": "coc-dev unlink",
|
|
"test": "yarn lint"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:sh",
|
|
"onCommand:sh.version",
|
|
"onCommand:sh.update.bash-language-server"
|
|
],
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "sh",
|
|
"properties": {
|
|
"sh.enable": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"sh.commandPath": {
|
|
"type": "string"
|
|
},
|
|
"sh.explainshellEndpoint": {
|
|
"description": "(Required :CocRestart)",
|
|
"type": "string",
|
|
"default": ""
|
|
},
|
|
"sh.globPattern": {
|
|
"description": "(Required :CocRestart)",
|
|
"type": "string",
|
|
"default": ""
|
|
},
|
|
"sh.highlightParsingErrors": {
|
|
"description": "(Required :CocRestart)",
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"sh.trace.server": {
|
|
"type": "string",
|
|
"default": "off",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
],
|
|
"description": "Trace level of bash-language-server"
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "sh.version",
|
|
"title": "Print extension version"
|
|
},
|
|
{
|
|
"command": "sh.update.bash-language-server",
|
|
"title": "Update bash-language-server"
|
|
}
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "sh",
|
|
"path": "./snippets/sh.json"
|
|
}
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.11.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.3.0",
|
|
"@typescript-eslint/parser": "^4.3.0",
|
|
"coc-dev-tools": "^0.1.0",
|
|
"coc.nvim": "0.0.79",
|
|
"eslint": "^7.10.0",
|
|
"rimraf": "^3.0.2",
|
|
"typescript": "^4.0.3"
|
|
},
|
|
"dependencies": {
|
|
"bash-language-server": "~1.17.0",
|
|
"pkg-dir": "^4.2.0",
|
|
"tslib": "^2.0.0"
|
|
}
|
|
}
|