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": {
|
2022-03-01 09:53:31 +01:00
|
|
|
"vscode": "^1.63.0"
|
2018-06-04 12:10:27 +02:00
|
|
|
},
|
|
|
|
|
"activationEvents": [
|
|
|
|
|
"onLanguage:plaintext"
|
|
|
|
|
],
|
|
|
|
|
"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",
|
2021-08-27 15:08:14 +02:00
|
|
|
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
|
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": {
|
2022-03-01 09:53:31 +01:00
|
|
|
"@types/mocha": "^9.1.0",
|
2022-05-24 15:12:22 -07:00
|
|
|
"@types/node": "^16.11.7",
|
2022-11-04 13:52:32 -07:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
|
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
|
|
|
"eslint": "^8.26.0",
|
2022-03-01 09:53:31 +01:00
|
|
|
"mocha": "^9.2.1",
|
2022-09-27 15:01:41 -07:00
|
|
|
"typescript": "^4.8.4"
|
2017-11-22 13:38:21 +01:00
|
|
|
}
|
|
|
|
|
}
|