{
"name": "ts-lsp-rust",
"displayName": "TypeScript/JavaScript LSP (Rust)",
"description": "A TypeScript and JavaScript language server implemented in Rust",
"version": "0.1.0",
"publisher": "typescript-lsp-rust",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/your-username/typescript-language-server"
},
"type": "module",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages",
"Linters"
],
"keywords": [
"typescript",
"javascript",
"lsp",
"language-server",
"rust"
],
"activationEvents": [
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onLanguage:javascript",
"onLanguage:javascriptreact"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "TypeScript/JavaScript LSP (Rust)",
"properties": {
"tsLspRust.enable": {
"type": "boolean",
"default": true,
"description": "Enable the TypeScript/JavaScript language server."
},
"tsLspRust.serverPath": {
"type": "string",
"default": "",
"description": "Path to the typescript-language-server executable. If empty, uses the bundled server."
},
"tsLspRust.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"tsLspRust.autoUpdate": {
"type": "boolean",
"default": true,
"description": "Automatically check for and notify about server updates."
}
}
},
"commands": [
{
"command": "tsLspRust.restartServer",
"title": "Restart Language Server",
"category": "TypeScript LSP (Rust)"
},
{
"command": "tsLspRust.downloadServer",
"title": "Download Language Server",
"category": "TypeScript LSP (Rust)"
},
{
"command": "tsLspRust.checkForUpdates",
"title": "Check for Server Updates",
"category": "TypeScript LSP (Rust)"
}
]
},
"scripts": {
"vscode:prepublish": "pnpm run build",
"build": "pnpm run check && pnpm run bundle",
"bundle": "esbuild src/extension.mts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --target=node18 --sourcemap",
"bundle:watch": "pnpm run bundle --watch",
"check": "tsc --noEmit",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext .ts,.mts",
"lint:fix": "eslint src --ext .ts,.mts --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"package": "pnpm run build && vsce package --no-dependencies",
"publish": "pnpm run build && vsce publish --no-dependencies",
"clean": "rm -rf dist out"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/node": "^24.10.1",
"@types/vscode": "^1.75.0",
"@vitest/coverage-v8": "^4.0.14",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
"typescript": "^5.3.0",
"vitest": "^4.0.14"
}
}