LSP-client-example
/
package.json
53 строки · 1.2 Кб
1{
2"name": "lsp-sample",
3"description": "A language server example",
4"author": "Microsoft Corporation",
5"license": "MIT",
6"version": "1.0.0",
7"repository": {
8"type": "git",
9"url": "https://github.com/Microsoft/vscode-extension-samples"
10},
11"publisher": "vscode-samples",
12"categories": [],
13"keywords": [
14"multi-root ready"
15],
16"engines": {
17"vscode": "^1.75.0"
18},
19"activationEvents": [
20"onLanguage:plaintext"
21],
22"main": "./client/out/extension",
23"contributes": {
24"configuration": {
25"type": "object",
26"title": "Configuration",
27"properties": {
28"serverPort": {
29"type": "number",
30"default": 9091,
31"description": "Port for lsp server"
32}
33}
34}
35},
36"scripts": {
37"vscode:prepublish": "npm run compile",
38"compile": "tsc -b",
39"watch": "tsc -b -w",
40"lint": "eslint ./client/src --ext .ts,.tsx",
41"postinstall": "cd client && npm install && cd ..",
42"test": "sh ./scripts/e2e.sh"
43},
44"devDependencies": {
45"@types/mocha": "^10.0.6",
46"@types/node": "^18.14.6",
47"@typescript-eslint/eslint-plugin": "^7.1.0",
48"@typescript-eslint/parser": "^7.1.0",
49"eslint": "^8.57.0",
50"mocha": "^10.3.0",
51"typescript": "^5.3.3"
52}
53}
54