{
  "name": "coc-oxc",
  "version": "0.3.0",
  "description": "Oxc extension for coc.nvim",
  "keywords": [
    "coc.nvim"
  ],
  "license": "MIT",
  "author": "Boshen and oxc contributors",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/oxc-project/coc-oxc.git"
  },
  "files": [
    "lib/**"
  ],
  "main": "lib/index.js",
  "devDependencies": {
    "@types/node": "^22.15.3",
    "coc.nvim": "0.0.83-next.24",
    "typescript": "^6.0.0",
    "vite-plus": "^0.1.21"
  },
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "oxc configuration",
      "properties": {
        "oxc.oxlint.enable": {
          "type": "boolean",
          "default": true,
          "description": "Enable oxlint language server"
        },
        "oxc.oxlint.run": {
          "scope": "resource",
          "type": "string",
          "enum": [
            "onSave",
            "onType"
          ],
          "default": "onType",
          "description": "Run oxlint on save (onSave) or on type (onType)"
        },
        "oxc.oxlint.binPath": {
          "type": "string",
          "default": "",
          "description": "Path to the `oxlint` binary"
        },
        "oxc.oxlint.configPath": {
          "type": [
            "string",
            "null"
          ],
          "scope": "resource",
          "default": null,
          "description": "Path to oxlint configuration. Keep it empty to enable nested configuration."
        },
        "oxc.oxlint.codeActionsOnSave": {
          "scope": "resource",
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": [],
          "description": "Code action kinds to apply on save (e.g. `source.fixAll.oxc`). Leave empty to disable."
        },
        "oxc.oxfmt.enable": {
          "type": "boolean",
          "default": true,
          "description": "Enable oxfmt language server"
        },
        "oxc.oxfmt.binPath": {
          "type": "string",
          "default": "",
          "description": "Path to the `oxfmt` binary"
        },
        "oxc.oxfmt.formatterPriority": {
          "type": "number",
          "default": 1,
          "description": "Priority of the oxfmt formatter when multiple formatters are registered for a language. Only positive values boost; the default of 1 outranks formatters that do not set a priority. To defer to another formatter for a given language, use coc.preferences.formatterExtension instead."
        }
      }
    },
    "commands": [
      {
        "command": "oxlint.restartServer",
        "title": "Restart oxlint Server",
        "category": "Oxlint"
      },
      {
        "command": "oxlint.showOutputChannel",
        "title": "Show oxlint Output Channel",
        "category": "Oxlint"
      },
      {
        "command": "oxfmt.restartServer",
        "title": "Restart oxfmt Server",
        "category": "Oxfmt"
      },
      {
        "command": "oxfmt.showOutputChannel",
        "title": "Show oxfmt Output Channel",
        "category": "Oxfmt"
      }
    ]
  },
  "activationEvents": [
    "onLanguage:css",
    "onLanguage:graphql",
    "onLanguage:handlebars",
    "onLanguage:html",
    "onLanguage:javascript",
    "onLanguage:javascriptreact",
    "onLanguage:json",
    "onLanguage:json5",
    "onLanguage:jsonc",
    "onLanguage:less",
    "onLanguage:markdown",
    "onLanguage:scss",
    "onLanguage:svelte",
    "onLanguage:typescript",
    "onLanguage:typescriptreact",
    "onLanguage:vue",
    "onLanguage:yaml"
  ],
  "engines": {
    "coc": "^0.0.82"
  },
  "scripts": {
    "watch": "vp build --watch",
    "build": "vp build",
    "lint": "vp lint",
    "fmt": "vp fmt"
  }
}