mirror of
https://github.com/jlengrand/elm-language-client-vscode.git
synced 2026-03-10 08:11:17 +00:00
154 lines
4.4 KiB
JSON
154 lines
4.4 KiB
JSON
{
|
|
"name": "elm-ls-vscode",
|
|
"displayName": "ElmLS",
|
|
"description": "Improving your Elm experience since 2019",
|
|
"publisher": "elmTooling",
|
|
"icon": "images/elm.png",
|
|
"author": "Kolja Lampe",
|
|
"license": "MIT",
|
|
"version": "0.6.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/elm-tooling/elm-language-client-vscode"
|
|
},
|
|
"categories": [
|
|
"Linters",
|
|
"Snippets",
|
|
"Programming Languages"
|
|
],
|
|
"keywords": [
|
|
"elm"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.30.0"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:elm",
|
|
"workspaceContains:**/elm.json"
|
|
],
|
|
"main": "./client/out/extension",
|
|
"bin": {
|
|
"elm-ls": "server/out/index.js"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "elm",
|
|
"aliases": [
|
|
"Elm",
|
|
"elm"
|
|
],
|
|
"extensions": [
|
|
".elm"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"jsonValidation": [
|
|
{
|
|
"fileMatch": "elm.json",
|
|
"url": "./schemas/elm.schema.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"scopeName": "markdown.elm.codeblock",
|
|
"path": "./syntaxes/codeblock.json",
|
|
"injectTo": [
|
|
"text.html.markdown"
|
|
],
|
|
"embeddedLanguages": {
|
|
"meta.embedded.block.elm": "elm",
|
|
"meta.embedded.block.glsl": "glsl"
|
|
}
|
|
},
|
|
{
|
|
"language": "elm",
|
|
"scopeName": "source.elm",
|
|
"path": "./syntaxes/elm.json"
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "elm.install",
|
|
"title": "Install Package",
|
|
"category": "Elm"
|
|
},
|
|
{
|
|
"command": "elm.browsePackage",
|
|
"title": "Browse Package",
|
|
"category": "Elm"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "ElmLS",
|
|
"properties": {
|
|
"elmLS.trace.server": {
|
|
"scope": "window",
|
|
"type": "string",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
],
|
|
"default": "off",
|
|
"description": "Traces the communication between VS Code and the language server."
|
|
},
|
|
"elmLS.elmPath": {
|
|
"scope": "window",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The path to your elm executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder."
|
|
},
|
|
"elmLS.elmFormatPath": {
|
|
"scope": "window",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The path to your elm-format executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder."
|
|
},
|
|
"elmLS.elmTestPath": {
|
|
"scope": "window",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The path to your elm-test executable. Should be empty by default, in that case it will assume the name and try to first get it from a local npm installation or a global one. If you set it manually it will not try to load from the npm folder."
|
|
},
|
|
"elmLS.elmAnalyseTrigger": {
|
|
"scope": "window",
|
|
"type": "string",
|
|
"enum": [
|
|
"change",
|
|
"save",
|
|
"never"
|
|
],
|
|
"default": "change",
|
|
"description": "When do you want the extension to run elm-analyse? Might need a restart to take effect."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "cd client && cd .. && npm run compile",
|
|
"compile": "npm run copy-wasm && tsc -b",
|
|
"watch": "npm run copy-wasm && tsc -b -w",
|
|
"copy-wasm": "cd server && npm run copy-wasm",
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
|
|
"test": "sh ./scripts/e2e.sh",
|
|
"lint": "tslint -p tsconfig.json",
|
|
"tslint-check": "tslint-config-prettier-check ./tslint.json"
|
|
},
|
|
"dependencies": {
|
|
"request": "2.88.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.18",
|
|
"@types/node": "^12.7.3",
|
|
"prettier": "^1.18.2",
|
|
"tslint": "^5.18.0",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"tslint-plugin-prettier": "^2.0.1",
|
|
"tslint-sonarts": "^1.9.0",
|
|
"typescript": "3.6.2"
|
|
}
|
|
}
|