{ "name": "lsp-log-streaming-sample", "description": "A language server example demonstrating log streaming", "author": "Microsoft Corporation", "license": "MIT", "version": "1.0.0", "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-extension-samples" }, "publisher": "vscode-samples", "categories": [], "keywords": [ "multi-root ready" ], "engines": { "vscode": "^1.100.0" }, "activationEvents": [ "onLanguage:plaintext" ], "main": "./client/out/extension", "contributes": { "commands": [ { "command": "languageServerExample.startStreaming", "title": "Start Stream Logs into languageServerExample.port" } ], "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.port": { "type": "number", "default": 7000, "scope": "window", "description": "The WebSocket port to stream LSP log data into." }, "languageServerExample.trace.server": { "scope": "window", "type": "object", "description": "Traces the communication between VS Code and the language server.", "properties": { "verbosity": { "type": "string", "description": "Controls the verbosity of the trace.", "enum": [ "off", "message", "verbose" ], "default": "off" }, "format": { "type": "string", "description": "Controls the output format of the trace.", "enum": [ "text", "json" ], "default": "text" } } } } } }, "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", "lint": "eslint", "postinstall": "cd client && npm install && cd ../server && npm install && cd ..", "test": "sh ./scripts/e2e.sh" }, "devDependencies": { "@eslint/js": "^9.13.0", "@stylistic/eslint-plugin": "^2.9.0", "@types/mocha": "^10.0.1", "@types/node": "^22", "eslint": "^9.13.0", "mocha": "^10.2.0", "typescript": "^5.9.2", "typescript-eslint": "^8.39.0" } }