|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- {
- "name": "coc-json",
- "version": "1.2.6",
- "description": "Json extension for coc.nvim",
- "main": "lib/index.js",
- "publisher": "chemzqm",
- "keywords": [
- "coc.nvim",
- "json"
- ],
- "engines": {
- "coc": ">= 0.0.70"
- },
- "scripts": {
- "clean": "rimraf lib",
- "watch": "webpack --watch",
- "build": "webpack",
- "prepare": "npx npm-run-all clean build"
- },
- "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.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",
- "@chemzqm/tslint-config": "^1.0.18",
- "@types/node": "^11.13.10",
- "coc.nvim": "^0.0.70",
- "request-light": "^0.2.4",
- "rimraf": "^2.6.3",
- "ts-loader": "^6.0.3",
- "tslint": "^5.16.0",
- "typescript": "^3",
- "vscode-json-languageservice": "3.3.0",
- "vscode-languageserver": "5.3.0-next.7",
- "vscode-uri": "2.0.1",
- "webpack": "^4.34.0",
- "webpack-cli": "^3.3.4"
- },
- "dependencies": {}
- }
|