mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "lsp-embedded-language-service-sample",
|
|
"description": "A language server example using language services to support embedded languages",
|
|
"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": [],
|
|
"engines": {
|
|
"vscode": "^1.100.0"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:html1"
|
|
],
|
|
"main": "./client/out/extension",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "html1",
|
|
"extensions": [
|
|
".html1"
|
|
]
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "html1",
|
|
"scopeName": "text.html1.basic",
|
|
"path": "./syntaxes/html1.tmLanguage.json"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "cd client && npm install && cd .. && npm run compile",
|
|
"compile": "tsc -b",
|
|
"watch": "tsc -b -w",
|
|
"lint": "eslint",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/node": "^22",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.39.0"
|
|
}
|
|
} |