nvim/coc/extensions/node_modules/coc-json/package.json

119 lines
3.1 KiB
JSON

{
"name": "coc-json",
"version": "1.3.4",
"description": "Json extension for coc.nvim",
"main": "lib/index.js",
"publisher": "chemzqm",
"keywords": [
"coc.nvim",
"json"
],
"engines": {
"coc": ">= 0.0.80"
},
"scripts": {
"prepare": "node esbuild.js"
},
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Json",
"properties": {
"json.enable": {
"type": "boolean",
"default": true,
"description": "Enable json server"
},
"json.trace.server": {
"type": "string",
"default": "off",
"enum": [
"off",
"messages",
"verbose"
]
},
"json.execArgv": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"json.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable format for json server"
},
"json.maxItemsComputed": {
"type": "number",
"default": 5000,
"description": "The maximum number of outline symbols and folding regions computed (limited for performance reasons)."
},
"json.schemaDownload.enable": {
"type": "boolean",
"default": true,
"description": "When enabled, JSON schemas can be fetched from http and https locations.",
"tags": [
"usesOnlineServices"
]
},
"json.schemas": {
"type": "array",
"scope": "resource",
"description": "Schemas associations for json files",
"default": [],
"items": {
"type": "object",
"default": {
"fileMatch": [
"/my-file"
],
"url": "schemaURL"
},
"properties": {
"url": {
"type": "string",
"default": "/user.schema.json"
},
"fileMatch": {
"type": "array",
"items": {
"type": "string",
"default": "MyFile.json"
},
"minItems": 1,
"description": "File pattern to match."
},
"schema": {
"$ref": "http://json-schema.org/draft-04/schema#",
"description": "Url of json schema, support file/url protocol."
}
}
}
}
}
}
},
"author": "chemzqm@gmail.com",
"license": "MIT",
"devDependencies": {
"@chemzqm/tsconfig": "^0.0.3",
"@types/node": "^10.12.0",
"esbuild": "^0.8.29",
"coc.nvim": "^0.0.80",
"request-light": "^0.4.0",
"rimraf": "^3.0.2",
"strip-bom": "^4.0.0",
"typescript": "^4.1.3",
"vscode-json-languageservice": "^3.8.3",
"vscode-languageserver": "7.0.0-next.3",
"vscode-languageserver-protocol": "^3.15.3",
"vscode-uri": "^2.1.2"
},
"dependencies": {}
}