-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
118 lines (118 loc) · 3.12 KB
/
package.json
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
{
"name": "vscode-promql",
"displayName": "PromQL language support for VS Code",
"description": "Prometheus Extension for VS Code based on the [PromQL Language Server](https://github.com/redhat-developer/promql-lsp).",
"author": "Red Hat",
"publisher": "redhat",
"contributors": [
{
"email": "[email protected]",
"name": "Tobias Guggenmos"
}
],
"preview": true,
"license": "Apache-2.0",
"repository": "https://github.com/redhat-developer/vscode-promql",
"version": "0.3.1",
"engines": {
"vscode": "^1.38.0"
},
"categories": [
"Programming Languages",
"Linters",
"Language Packs"
],
"activationEvents": [
"onLanguage:promql",
"onLanguage:yaml"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [],
"languages": [
{
"id": "promql",
"extensions": [
".promql"
],
"aliases": [
"PromQL",
"promql"
],
"configuration": "./promql-language-configuration.json"
}
],
"grammars": [
{
"language": "promql",
"scopeName": "source.promql",
"path": "./syntaxes/promql.tmlanguage.json"
}
],
"configuration": [
{
"title": "PromQL",
"properties": {
"promql.url": {
"title": "Prometheus Server URL",
"type": "string",
"default": "",
"description": "URL of the Prometheus Server used for completions and other metadata.\n\nNote that querying for metadata will put additional load on the Prometheus instance, so be careful with pointing this to production servers that already are under high load.\n\nExample: https://localhost:9090",
"scope": "window"
},
"promql.langserverBinaryPath": {
"type": "string",
"default": "",
"description": "Path to the PromQL langserver binary. Mainly useful for doing language server development. If none is provided, the latest release is downloaded automatically.",
"scope": "window"
},
"promql.langserverConfigPath": {
"type": "string",
"description": "Path to the PromQL langserver configuration. Mainly useful for doing language server development.",
"scope": "window"
}
}
}
]
},
"scripts": {
"compile-ts": "tsc -p ./",
"compile": "make",
"watch": "tsc -watch -p ./",
"pretest": "make",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "make webpack",
"webpack": "webpack --mode development",
"webpack-production": "webpack --mode production",
"webpack-dev": "webpack --mode development",
"test-compile": "tsc -p ./",
"prerun": "make webpack-fast"
},
"dependencies": {
"@types/follow-redirects": "^1.14.1",
"@types/glob": "^7.2.0",
"@types/tar-fs": "^2.0.1",
"@types/ws": "^8.5.3",
"follow-redirects": "^1.15.0",
"fs": "0.0.1-security",
"glob": "^8.0.3",
"https": "^1.0.0",
"tar-fs": "^2.1.1",
"vscode-languageclient": "^8.0.1",
"ws": "^8.6.0",
"zlib": "^1.0.5"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.3",
"@types/vscode": "^1.38.0",
"mocha": "^10.0.0",
"ts-loader": "^9.3.0",
"tslint": "^6.1.3",
"typescript": "^4.6.4",
"vsce": "^2.7.0",
"vscode-test": "^1.6.1",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
}
}