mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "wasm-language-server",
|
|
"description": "An example demonstrating how to implement a language server as a WebAssembly module.",
|
|
"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": [
|
|
"WASM",
|
|
"Component Model",
|
|
"LSP",
|
|
"Language Server"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.88.0"
|
|
},
|
|
"main": "./client/out/extension",
|
|
"browser": "./client/dist/web/extension",
|
|
"activationEvents": [
|
|
"onLanguage:plaintext"
|
|
],
|
|
"extensionDependencies": [
|
|
"ms-vscode.wasm-wasi-core"
|
|
],
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "vscode-samples.wasm-language-server.countFiles",
|
|
"category": "Samples",
|
|
"title": "Count Files"
|
|
}
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/node": "^20",
|
|
"esbuild": "^0.21.3",
|
|
"eslint": "^9.13.0",
|
|
"serve": "^14.2.3",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "cd client && npm install && cd ..",
|
|
"vscode:prepublish": "npm run build",
|
|
"build": "cd client && npm run compile && cd ../server && npm run build && cd ..",
|
|
"lint": "cd client && npm run lint && cd ..",
|
|
"esbuild": "node ./bin/esbuild.js",
|
|
"serve": "serve --cors -l 5000 --ssl-cert $HOME/certs/localhost.pem --ssl-key $HOME/certs/localhost-key.pem"
|
|
}
|
|
}
|