{
  "name": "coc-angular",
  "description": "Editor services for Angular templates",
  "version": "17.0.2",
  "keywords": [
    "coc.nvim",
    "angular",
    "multi-root ready"
  ],
  "author": {
    "name": "iamcco",
    "email": "ooiss@qq.com"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/iamcco/coc-angular"
  },
  "engines": {
    "coc": "^0.0.82"
  },
  "capabilities": {
    "untrustedWorkspaces": {
      "supported": true
    },
    "virtualWorkspaces": {
      "supported": "limited",
      "description": "The Language Server Protocol does not support remote file systems. Functionality is limited to syntax highlighting only."
    }
  },
  "main": "./out/index.js",
  "activationEvents": [
    "workspaceContains:angular.json",
    "workspaceContains:node_modules/@angular/core/core.d.ts"
  ],
  "contributes": {
    "commands": [
      {
        "command": "angular.restartNgServer",
        "title": "Restart Angular Language server",
        "category": "Angular"
      },
      {
        "command": "angular.openLogFile",
        "title": "Open Angular Server log",
        "category": "Angular"
      },
      {
        "command": "angular.getTemplateTcb",
        "title": "View Template Typecheck Block",
        "category": "Angular"
      },
      {
        "command": "angular.goToComponentWithTemplateFile",
        "title": "Go to component",
        "category": "Angular"
      },
      {
        "command": "angular.goToTemplateForComponent",
        "title": "Go to template",
        "category": "Angular"
      }
    ],
    "configuration": {
      "title": "angular configuration",
      "properties": {
        "angular.trace.server": {
          "type": "string",
          "default": "off",
          "enum": [
            "off",
            "messages",
            "verbose"
          ],
          "description": "enable angular language server trace log?"
        },
        "angular.log": {
          "type": "string",
          "enum": [
            "off",
            "terse",
            "normal",
            "verbose"
          ],
          "default": "off",
          "description": "Enables logging of the Angular server to a file. This log can be used to diagnose Angular Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project."
        },
        "angular.enable-strict-mode-prompt": {
          "type": "boolean",
          "default": true,
          "description": "Prompt to enable Strict Mode."
        },
        "angular.suggest.includeAutomaticOptionalChainCompletions": {
          "type": "boolean",
          "default": true,
          "description": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires TS 3.7+, strict null checks to be enabled and the `legacy View Engine` option to be disabled."
        },
        "angular.suggest.includeCompletionsWithSnippetText": {
          "type": "boolean",
          "default": true,
          "description": "Enable/disable snippet completions from Angular language server. Requires using TypeScript 4.3+ in the workspace and the `legacy View Engine` option to be disabled."
        },
        "angular.forceStrictTemplates": {
          "type": "boolean",
          "default": false,
          "markdownDescription": "Enabling this option will force the language service to use [strictTemplates](https://angular.io/guide/angular-compiler-options#stricttemplates) and ignore the user settings in the `tsconfig.json`."
        }
      }
    }
  },
  "scripts": {
    "build": "rm -rf ./out/ && webpack",
    "watch": "tsc -w -p ./"
  },
  "devDependencies": {
    "@types/node": "^20.9.0",
    "coc.nvim": "^0.0.83-next.9",
    "ts-loader": "^9.5.0",
    "vscode-languageserver-protocol": "^3.17.5",
    "webpack": "^5.89.0",
    "webpack-cli": "^5.1.4"
  },
  "dependencies": {
    "@angular/language-server": "17.0.2",
    "typescript": "5.2.2"
  }
}
