2017-11-22 13:38:21 +01:00
|
|
|
{
|
2018-06-04 12:10:27 +02:00
|
|
|
"name": "lsp-sample",
|
2017-11-22 13:38:21 +01:00
|
|
|
"description": "A language server example",
|
|
|
|
|
"author": "Microsoft Corporation",
|
|
|
|
|
"license": "MIT",
|
2018-06-04 12:10:27 +02:00
|
|
|
"version": "1.0.0",
|
2017-11-22 13:38:21 +01:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
|
|
|
},
|
2018-10-15 11:52:55 -07:00
|
|
|
"publisher": "vscode-samples",
|
2018-06-04 12:10:27 +02:00
|
|
|
"categories": [],
|
|
|
|
|
"keywords": [
|
|
|
|
|
"multi-root ready"
|
|
|
|
|
],
|
|
|
|
|
"engines": {
|
2025-08-07 07:57:14 -07:00
|
|
|
"vscode": "^1.100.0"
|
2018-06-04 12:10:27 +02:00
|
|
|
},
|
2023-01-20 08:35:03 -08:00
|
|
|
"activationEvents": [
|
|
|
|
|
"onLanguage:plaintext"
|
|
|
|
|
],
|
2018-06-04 12:10:27 +02:00
|
|
|
"main": "./client/out/extension",
|
|
|
|
|
"contributes": {
|
|
|
|
|
"configuration": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Example configuration",
|
|
|
|
|
"properties": {
|
|
|
|
|
"languageServerExample.maxNumberOfProblems": {
|
|
|
|
|
"scope": "resource",
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 100,
|
|
|
|
|
"description": "Controls the maximum number of problems produced by the server."
|
|
|
|
|
},
|
|
|
|
|
"languageServerExample.trace.server": {
|
|
|
|
|
"scope": "window",
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": [
|
|
|
|
|
"off",
|
|
|
|
|
"messages",
|
|
|
|
|
"verbose"
|
|
|
|
|
],
|
|
|
|
|
"default": "off",
|
2018-07-01 00:19:23 -07:00
|
|
|
"description": "Traces the communication between VS Code and the language server."
|
2018-06-04 12:10:27 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2017-11-22 13:38:21 +01:00
|
|
|
"scripts": {
|
2020-04-22 12:35:04 +02:00
|
|
|
"vscode:prepublish": "npm run compile",
|
2018-10-26 11:15:09 +02:00
|
|
|
"compile": "tsc -b",
|
|
|
|
|
"watch": "tsc -b -w",
|
2024-10-26 17:44:03 -07:00
|
|
|
"lint": "eslint",
|
2018-06-25 02:14:44 -07:00
|
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
|
2018-06-25 22:04:05 -07:00
|
|
|
"test": "sh ./scripts/e2e.sh"
|
2017-11-22 13:38:21 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2024-10-26 17:44:03 -07:00
|
|
|
"@eslint/js": "^9.13.0",
|
|
|
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
2023-12-18 12:56:33 +01:00
|
|
|
"@types/mocha": "^10.0.6",
|
2025-08-06 23:43:14 -07:00
|
|
|
"@types/node": "^22",
|
2024-10-26 17:44:03 -07:00
|
|
|
"eslint": "^9.13.0",
|
2024-02-27 12:45:29 +01:00
|
|
|
"mocha": "^10.3.0",
|
2025-08-06 23:43:14 -07:00
|
|
|
"typescript": "^5.9.2",
|
|
|
|
|
"typescript-eslint": "^8.39.0"
|
2017-11-22 13:38:21 +01:00
|
|
|
}
|
2025-08-06 23:43:14 -07:00
|
|
|
}
|