mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
52 lines
1.2 KiB
JSON
52 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.74.0"
|
|
},
|
|
"activationEvents": [],
|
|
"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 ./client/src ./server/src --ext .ts,.tsx",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd .."
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/node": "^16.11.7",
|
|
"@typescript-eslint/eslint-plugin": "^4.23.0",
|
|
"@typescript-eslint/parser": "^4.23.0",
|
|
"eslint": "^7.26.0",
|
|
"typescript": "^5.0.2"
|
|
}
|
|
}
|