-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.19 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "dampen-code",
"displayName": "Dampen",
"description": "VS Code extension for Dampen UI framework with LSP support",
"version": "0.1.0",
"publisher": "Mattdef",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/mattdef/dampen-code.git"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Language Packs"
],
"keywords": [
"dampen",
"ui",
"xml",
"lsp"
],
"activationEvents": [
"onLanguage:dampen"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "dampen",
"aliases": [
"Dampen",
"dampen"
],
"extensions": [
".dampen"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "dampen",
"scopeName": "source.dampen",
"path": "./syntaxes/dampen.tmLanguage.json"
}
],
"snippets": [
{
"language": "dampen",
"path": "./snippets/dampen-snippets.json"
}
],
"commands": [
{
"command": "dampen.checkSyntax",
"title": "Check Syntax",
"category": "Dampen",
"icon": "$(check)"
},
{
"command": "dampen.restartServer",
"title": "Restart Language Server",
"category": "Dampen",
"icon": "$(debug-restart)"
},
{
"command": "dampen.showLspOutput",
"title": "Show LSP Output",
"category": "Dampen",
"icon": "$(output)"
},
{
"command": "dampen.goToDefinition",
"title": "Go to Definition",
"category": "Dampen",
"icon": "$(go-to-file)"
}
],
"configuration": {
"title": "Dampen",
"properties": {
"dampen.lspPath": {
"type": "string",
"default": "",
"description": "Path to the dampen-lsp binary. If not set, the extension will search in PATH or download automatically."
},
"dampen.autoDownload": {
"type": "boolean",
"default": true,
"description": "Automatically download the dampen-lsp binary if not found."
},
"dampen.lspVersion": {
"type": "string",
"default": "latest",
"description": "Version of dampen-lsp to download (e.g., 'latest' or 'v1.0.0')."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run webpack-prod",
"webpack": "webpack --mode development",
"webpack-prod": "webpack --mode production",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^20.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^6.x",
"@typescript-eslint/parser": "^6.x",
"eslint": "^8.x",
"ts-loader": "^9.5.4",
"typescript": "^5.x",
"vsce": "^2.x",
"webpack": "^5.104.1",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"vscode-languageclient": "^9.x"
}
}