{
  "name": "coc-webview",
  "version": "0.12.0",
  "description": "Vscode webview ported to coc.nvim",
  "author": "Weirong Xu <weirongxu.raidou@gmail.com>",
  "license": "MIT",
  "repository": "git@github.com:weirongxu/coc-webview.git",
  "homepage": "https://github.com/weirongxu/coc-webview",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "keywords": [
    "coc.nvim",
    "webview",
    "webview-panel"
  ],
  "engines": {
    "coc": "^0.0.80"
  },
  "scripts": {
    "lint": "eslint src --ext ts",
    "clean": "rimraf lib",
    "watch": "node esbuild.js --watch",
    "build:type": "tsc --emitDeclarationOnly",
    "build:pack": "node esbuild.js",
    "build": "run-s build:type lint build:pack",
    "prepare": "run-s clean build"
  },
  "prettier": {
    "singleQuote": true,
    "printWidth": 120,
    "trailingComma": "all",
    "semi": true
  },
  "devDependencies": {
    "@raidou/eslint-config-base": "^1.5.0",
    "@types/eslint": "^8.2.1",
    "@types/mime-types": "^2.1.1",
    "@types/node": "^17.0.6",
    "@types/prettier": "^2.4.2",
    "@types/rimraf": "^3.0.2",
    "@types/uuid": "^8.3.3",
    "coc-helper": "^0.12.1",
    "coc.nvim": "^0.0.81-next.6",
    "esbuild": "^0.14.10",
    "esbuild-plugin-alias": "^0.1.2",
    "eslint": "^8.6.0",
    "mime-types": "^2.1.34",
    "npm-run-all": "^4.1.5",
    "open": "^8.4.0",
    "prettier": "^2.5.1",
    "rimraf": "^3.0.2",
    "socket.io": "^4.4.0",
    "socket.io-client": "^4.4.0",
    "type-fest": "^2.8.0",
    "typescript": "^4.5.4",
    "uuid": "^8.3.2"
  },
  "activationEvents": [
    "*"
  ],
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "Markdown Preview Enhanced",
      "properties": {
        "webview.debug": {
          "description": "Enable debug mode",
          "type": "boolean",
          "default": false
        },
        "webview.titlePanel.enabled": {
          "description": "Enable title panel",
          "type": "boolean",
          "default": true
        },
        "webview.colorStrategy": {
          "description": "Color strategy for webview",
          "enum": [
            "vim-background",
            "system",
            "dark",
            "light"
          ],
          "enumDescriptions": [
            "Depending on Vim background option",
            "Depending on Operating System",
            "Dark",
            "Light"
          ],
          "default": "vim-background"
        },
        "webview.primaryColors": {
          "description": "Primary colors for webview",
          "type": "object",
          "properties": {
            "dark": {
              "type": "string"
            },
            "light": {
              "type": "string"
            }
          },
          "required": [
            "dark",
            "light"
          ],
          "default": {
            "dark": "#242424",
            "light": "#2288ff"
          }
        },
        "webview.minPort": {
          "description": "Mix port for webview service",
          "type": "number",
          "default": "15567"
        },
        "webview.maxPort": {
          "description": "Max port for webview service",
          "type": "number",
          "default": "15667"
        },
        "webview.openCommand": {
          "description": "Command template for open webview, arguments(%u webview url), example: 'chrome \"%u\"'",
          "anyOf": [
            {
              "enum": [
                "nodejs:module",
                "chrome \"%u\"",
                "firefox \"%u\"",
                "open -a \"Google Chrome\" \"%u\"",
                "open -a Firefox \"%u\"",
                "open -a Safari \"%u\""
              ],
              "enumDescriptions": [
                "Use nodejs module"
              ]
            },
            {
              "description": "Use template string as trash command",
              "type": "string"
            }
          ],
          "default": "nodejs:module"
        }
      }
    }
  }
}
