{
  "name": "coc-groovy",
  "version": "1.5.0",
  "description": "Groovy langauage extension for coc.nvim",
  "author": "dansomething",
  "license": "EPL-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/dansomething/coc-groovy"
  },
  "bugs": "https://github.com/dansomething/coc-groovy/issues",
  "main": "lib/index.js",
  "files": [
    "/LICENSE",
    "/README.md",
    "/lib",
    "/server",
    "utils/gradle-classpath"
  ],
  "keywords": [
    "coc.nvim",
    "groovy",
    "languageserver"
  ],
  "publisher": "dansomething",
  "publishConfig": {
    "registry": "https://registry.npmjs.org"
  },
  "engines": {
    "coc": ">=0.0.79",
    "node": ">=18.20.0"
  },
  "scripts": {
    "build": "webpack",
    "clean": "rimraf lib",
    "fix": "eslint --fix && prettier --write .",
    "lint": "eslint && prettier --check .",
    "prepare": "npm-run-all clean build",
    "release": "np --no-tests",
    "update": "ncu --peer --enginesNode",
    "update-gradle-classpath": "./utils/update-gradle-classpath",
    "watch": "webpack --watch"
  },
  "prettier": {
    "singleQuote": true,
    "printWidth": 120,
    "semi": true
  },
  "devDependencies": {
    "@types/glob": "9.0.0",
    "@types/node": "^12.20.55",
    "@typescript-eslint/eslint-plugin": "^8.35.1",
    "@typescript-eslint/parser": "^8.35.1",
    "coc.nvim": "^0.0.82",
    "eslint": "^9.30.1",
    "eslint-config-prettier": "^10.1.5",
    "eslint-plugin-prettier": "^5.5.1",
    "expand-home-dir": "^0.0.3",
    "find-java-home": "2.0.0",
    "find-up": "^7.0.0",
    "glob": "^10.4.5",
    "np": "10.2.0",
    "npm-check-updates": "^18.0.1",
    "npm-run-all": "^4.1.5",
    "path-exists": "^5.0.0",
    "prettier": "^3.6.2",
    "rimraf": "^5.0.10",
    "ts-loader": "^9.5.2",
    "typescript": "^4",
    "vscode-languageserver-protocol": "^3.17.5",
    "webpack": "^5.99.9",
    "webpack-cli": "^6.0.1"
  },
  "activationEvents": [
    "onLanguage:groovy",
    "workspaceContains:pom.xml",
    "workspaceContains:build.gradle"
  ],
  "contributes": {
    "rootPatterns": [
      {
        "filetype": "groovy",
        "patterns": [
          "package.json",
          ".project",
          ".classpath",
          "build.gradle"
        ]
      }
    ],
    "snippets": [
      {
        "language": "groovy",
        "path": "./snippets/groovy.json"
      }
    ],
    "configuration": {
      "type": "object",
      "title": "Groovy configuration",
      "properties": {
        "groovy.enable": {
          "type": "boolean",
          "default": true,
          "description": "Enable the coc-groovy extension."
        },
        "groovy.java.home": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "description": "Specifies the folder path to the JDK (8 or more recent) used to launch the Groovy Language Server.\nOn Windows, backslashes must be escaped, i.e.\n\"groovy.home\":\"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_161\"",
          "scope": "window"
        },
        "groovy.ls.feature.noRoot": {
          "type": "boolean",
          "default": false,
          "description": "Enables the Groovy language server to provide language features for standalone .groovy files outside of a workspace root."
        },
        "groovy.ls.vmargs": {
          "type": [
            "string",
            "null"
          ],
          "default": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication",
          "description": "Specifies extra VM arguments used to launch the Groovy Language Server. Eg. use `-noverify -Xmx1G  -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector.",
          "scope": "window"
        },
        "groovy.ls.home": {
          "type": "string",
          "default": null,
          "description": "Absolute path to the Groovy Language Server home. The bundled language server is used by default.",
          "scope": "window"
        },
        "groovy.project.referencedLibraries": {
          "type": [
            "array"
          ],
          "default": [],
          "description": "Configure additional paths for referencing libraries in a Groovy project. Note, Maven and Gradle projects will have their classpath automatically added.",
          "scope": "window"
        },
        "groovy.trace.server": {
          "type": "string",
          "enum": [
            "off",
            "messages",
            "verbose"
          ],
          "default": "off",
          "description": "Traces the communication between coc.nvim and the Groovy language server.",
          "scope": "window"
        }
      }
    },
    "commands": [
      {
        "command": "groovy.project.config.update",
        "title": "Update project configuration.",
        "category": "Groovy"
      }
    ]
  }
}
