My dotfiles
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

112 行
2.7 KiB

  1. {
  2. "name": "coc-json",
  3. "version": "1.2.6",
  4. "description": "Json extension for coc.nvim",
  5. "main": "lib/index.js",
  6. "publisher": "chemzqm",
  7. "keywords": [
  8. "coc.nvim",
  9. "json"
  10. ],
  11. "engines": {
  12. "coc": ">= 0.0.70"
  13. },
  14. "scripts": {
  15. "clean": "rimraf lib",
  16. "watch": "webpack --watch",
  17. "build": "webpack",
  18. "prepare": "npx npm-run-all clean build"
  19. },
  20. "activationEvents": [
  21. "onLanguage:json",
  22. "onLanguage:jsonc"
  23. ],
  24. "contributes": {
  25. "configuration": {
  26. "type": "object",
  27. "title": "Json",
  28. "properties": {
  29. "json.enable": {
  30. "type": "boolean",
  31. "default": true,
  32. "description": "Enable json server"
  33. },
  34. "json.trace.server": {
  35. "type": "string",
  36. "default": "off",
  37. "enum": [
  38. "off",
  39. "messages",
  40. "verbose"
  41. ]
  42. },
  43. "json.execArgv": {
  44. "type": "array",
  45. "default": [],
  46. "items": {
  47. "type": "string"
  48. }
  49. },
  50. "json.format.enable": {
  51. "type": "boolean",
  52. "default": true,
  53. "description": "Enable format for json server"
  54. },
  55. "json.schemas": {
  56. "type": "array",
  57. "scope": "resource",
  58. "description": "Schemas associations for json files",
  59. "default": [],
  60. "items": {
  61. "type": "object",
  62. "default": {
  63. "fileMatch": [
  64. "/my-file"
  65. ],
  66. "url": "schemaURL"
  67. },
  68. "properties": {
  69. "url": {
  70. "type": "string",
  71. "default": "/user.schema.json"
  72. },
  73. "fileMatch": {
  74. "type": "array",
  75. "items": {
  76. "type": "string",
  77. "default": "MyFile.json"
  78. },
  79. "minItems": 1,
  80. "description": "File pattern to match."
  81. },
  82. "schema": {
  83. "$ref": "http://json-schema.org/draft-04/schema#",
  84. "description": "Url of json schema, support file/url protocol."
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. },
  92. "author": "chemzqm@gmail.com",
  93. "license": "MIT",
  94. "devDependencies": {
  95. "@chemzqm/tsconfig": "^0.0.3",
  96. "@chemzqm/tslint-config": "^1.0.18",
  97. "@types/node": "^11.13.10",
  98. "coc.nvim": "^0.0.70",
  99. "request-light": "^0.2.4",
  100. "rimraf": "^2.6.3",
  101. "ts-loader": "^6.0.3",
  102. "tslint": "^5.16.0",
  103. "typescript": "^3",
  104. "vscode-json-languageservice": "3.3.0",
  105. "vscode-languageserver": "5.3.0-next.7",
  106. "vscode-uri": "2.0.1",
  107. "webpack": "^4.34.0",
  108. "webpack-cli": "^3.3.4"
  109. },
  110. "dependencies": {}
  111. }