Files
elm-language-client-vscode/package.json
2019-06-27 00:09:43 +02:00

126 lines
3.1 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.2.3",
"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": [
"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"
}
],
"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": "elm",
"description": "The path to your elm executable."
},
"elmLS.elmFormatPath": {
"scope": "window",
"type": "string",
"default": "elm-format",
"description": "The path to your elm-format executable."
},
"elmLS.elmTestPath": {
"scope": "window",
"type": "string",
"default": "elm-test",
"description": "The path to your elm-test executable."
}
}
}
},
"scripts": {
"vscode:prepublish": "cd client && npm run update-vscode && cd .. && npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"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"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.0.10",
"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.5.2"
}
}