{
  "name": "coc-htmlview",
  "version": "0.2.1",
  "description": "Browser-style HTML and CSS rendering into Neovim buffers for coc.nvim extensions",
  "author": "Svetlozar Iliev",
  "publisher": "asmodeus812",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/asmodeus812/coc-htmlview"
  },
  "keywords": [
    "coc.nvim",
    "html",
    "css",
    "renderer"
  ],
  "engines": {
    "coc": "^0.0.82"
  },
  "main": "lib/index.js",
  "types": "lib/api.d.ts",
  "activationEvents": [
    "*"
  ],
  "files": [
    "lib",
    "doc/coc-htmlview.txt",
    "LICENSE",
    "README.md"
  ],
  "scripts": {
    "build": "node esbuild.mjs && tsc -p tsconfig.api.json",
    "watch": "node esbuild.mjs --watch",
    "prepare": "npm run build",
    "test": "node scripts/test.mjs",
    "typecheck": "tsc --noEmit -p ."
  },
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "coc-htmlview",
      "properties": {
        "htmlview.view.mode": {
          "type": "string",
          "enum": [
            "split",
            "float"
          ],
          "default": "float",
          "scope": "application",
          "markdownDescription": "Where views open when the calling extension does not choose: a window `split` (see `#htmlview.view.splitCommand#`) or a centred `float` (Neovim only; Vim always splits)."
        },
        "htmlview.view.splitCommand": {
          "type": "string",
          "default": "botright vsplit",
          "scope": "application",
          "markdownDescription": "Ex command that creates the split for `#htmlview.view.mode#` `split`, e.g. `botright vsplit`, `topleft split`, `tab split`. Anything that is not a split command falls back to the default with one warning."
        },
        "htmlview.stylesheets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": [],
          "scope": "application",
          "markdownDescription": "CSS files applied to every view as your base, before the calling extension's stylesheets, so the extension's rules win over them. `~` and environment variables are expanded. Relative paths resolve against the folder of the settings file that sets them: your coc config folder for the user settings, the workspace root for the workspace settings; both lists apply, user first. Defaults declared by other extensions are ignored."
        },
        "htmlview.linkTargets": {
          "type": "boolean",
          "default": false,
          "scope": "application",
          "markdownDescription": "Show each link's target as virtual text after the link (` 🔗 <href>`). Off by default, as in a browser; links stay highlighted and `<CR>`/`gx` open them either way."
        }
      }
    }
  },
  "devDependencies": {
    "@types/node": "^20.0.0",
    "coc.nvim": "^0.0.83-next.18",
    "css": "^3.0.0",
    "esbuild": "^0.19.8",
    "highlight.js": "11.11.1",
    "node-html-parser": "6.1.13",
    "typescript": "^5.3.3"
  }
}
