{
  "name": "coc-psalm",
  "version": "0.12.4",
  "description": "Psalm extension for coc.nvim",
  "author": "yaegassy <yosstools@gmail.com>",
  "license": "MIT",
  "main": "lib/index.js",
  "keywords": [
    "coc.nvim",
    "php",
    "psalm",
    "vim",
    "neovim"
  ],
  "engines": {
    "coc": "^0.0.80"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/yaegassy/coc-psalm"
  },
  "scripts": {
    "lint": "eslint src --ext ts",
    "clean": "rimraf lib",
    "watch": "node esbuild.js --watch",
    "build": "node esbuild.js",
    "prepare": "node esbuild.js"
  },
  "prettier": {
    "singleQuote": true,
    "printWidth": 120,
    "semi": true
  },
  "activationEvents": [
    "workspaceContains:**/?(psalm.xml|psalm.xml.dist)"
  ],
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "coc-psalm configuration",
      "properties": {
        "psalm.enable": {
          "type": "boolean",
          "default": true,
          "description": "Enable coc-psalm extension"
        },
        "psalm.disableCompletion": {
          "type": "boolean",
          "default": false,
          "description": "Disable completion only."
        },
        "psalm.disableDefinition": {
          "type": "boolean",
          "default": false,
          "description": "Disable definition only."
        },
        "psalm.disableProgressOnInitialization": {
          "type": "boolean",
          "default": false,
          "description": "Disable ProgressOnInitialization only."
        },
        "psalm.phpExecutablePath": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "description": "Optional, defaults to searching for \"php\". The path to a PHP 7.0+ executable to use to execute the Psalm server. The PHP 7.0+ installation should preferably include and enable the PHP module `pcntl`. (Modifying requires restart)"
        },
        "psalm.phpExecutableArgs": {
          "type": [
            "array",
            "null"
          ],
          "default": [
            "-dxdebug.remote_autostart=0",
            "-dxdebug.remote_enable=0",
            "-dxdebug_profiler_enable=0"
          ],
          "description": "Optional (Advanced), default is '-dxdebug.remote_autostart=0 -dxdebug.remote_enable=0 -dxdebug_profiler_enable=0'.  Additional PHP executable CLI arguments to use."
        },
        "psalm.psalmScriptPath": {
          "type": [
            "string",
            "null"
          ],
          "default": null,
          "description": "Optional (Advanced). If provided, this overrides the Psalm server script to use, e.g. `vendor/bin/psalm-language-server`, `$HOME/path/to/psalm-language-server`, `~/path/to/psalm-language-server` (Modifying requires restart)"
        },
        "psalm.psalmScriptExtraArgs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": [],
          "description": "Optional (Advanced). Additional arguments to the Psalm language server. (Modifying requires restart)"
        },
        "psalm.enableUseIniDefaults": {
          "type": "boolean",
          "default": false,
          "description": "Enable this to use PHP-provided ini defaults for memory and error display. (Modifying requires restart)"
        },
        "psalm.enableDebugLog": {
          "type": [
            "boolean"
          ],
          "default": false,
          "description": "Enable this to print messages. (Modifying requires restart)"
        },
        "psalm.analyzedFileExtensions": {
          "type": [
            "array"
          ],
          "default": [
            {
              "scheme": "file",
              "language": "php"
            },
            {
              "scheme": "untitled",
              "language": "php"
            }
          ],
          "description": "A list of file extensions to request Psalm to analyze. By default, this only includes 'php' (Modifying requires restart)"
        },
        "psalm.unusedVariableDetection": {
          "type": [
            "boolean"
          ],
          "default": false,
          "description": "Enable this to enable unused variable and parameter detection"
        },
        "psalm.configPaths": {
          "type": "array",
          "default": [
            "psalm.xml",
            "psalm.xml.dist"
          ],
          "description": "A list of files to checkup for psalm configuration (relative to the workspace directory)"
        },
        "psalm.trace.server": {
          "type": "string",
          "enum": [
            "off",
            "messages",
            "verbose"
          ],
          "default": "off",
          "description": "Traces the communication between coc.nvim and the Psalm language server",
          "scope": "window"
        }
      }
    },
    "commands": [
      {
        "command": "psalm.restartPsalmServer",
        "title": "Restart Psalm Language server",
        "category": "Psalm"
      },
      {
        "command": "psalm.analyzeWorkSpace",
        "title": "Analyze Workspace",
        "category": "Psalm"
      }
    ]
  },
  "devDependencies": {
    "@types/mz": "^0.0.31",
    "@types/node": "^18.16.5",
    "@types/semver": "^7.3.6",
    "@typescript-eslint/eslint-plugin": "^5.59.2",
    "@typescript-eslint/parser": "^5.59.2",
    "coc.nvim": "^0.0.82",
    "esbuild": "^0.16.17",
    "eslint": "^8.40.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-prettier": "^4.2.1",
    "prettier": "^2.8.8",
    "rimraf": "^3.0.2",
    "typescript": "5.0.4"
  },
  "dependencies": {
    "mz": "^2.7.0",
    "semantic-release": "^19.0.2",
    "semver": "^7.3.5"
  }
}
