mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "lsp-sample",
|
|
"description": "A language server example",
|
|
"author": "Microsoft Corporation",
|
|
"license": "MIT",
|
|
"version": "1.0.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"publisher": "vscode",
|
|
"categories": [],
|
|
"keywords": [
|
|
"multi-root ready"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.23.0"
|
|
},
|
|
"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",
|
|
"description": "Traces the communication between VSCode and the language server."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "cd client && npm run update-vscode && cd .. && npm run compile",
|
|
"compile:client": "tsc -p ./client/tsconfig.json",
|
|
"compile:server": "tsc -p ./server/tsconfig.json",
|
|
"watch:client": "tsc -w -p ./client/tsconfig.json",
|
|
"watch:server": "tsc -w -p ./server/tsconfig.json",
|
|
"compile": "npm run compile:client && npm run compile:server",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
|
|
"test": "sh ./scripts/e2e.sh"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^5.2.0",
|
|
"@types/node": "^8.0.0",
|
|
"typescript": "2.8.3"
|
|
}
|
|
}
|