-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
158 lines (158 loc) · 4.23 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "grafana-vscode",
"author": "Grafana Labs",
"displayName": "Grafana",
"description": "Grafana Editor",
"icon": "public/grafana_icon.png",
"version": "0.0.19",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/grafana/grafana-vs-code-extension"
},
"engines": {
"vscode": "^1.76.0"
},
"publisher": "Grafana",
"categories": [
"Visualization",
"Snippets"
],
"keywords": [
"Grafana",
"dashboards"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "grafana.dashboard",
"displayName": "Grafana",
"selector": [
{
"filenamePattern": "*.grafana"
}
]
}
],
"commands": [
{
"command": "grafana-vscode.openUrl",
"title": "Grafana: Edit in Grafana"
}
],
"menus": {
"commandPalette": [
{
"command": "grafana-vscode.openUrl",
"when": "resourceExtname == .json || resourceExtname == .yaml || resourceExtname == .yml"
}
],
"explorer/context": [
{
"command": "grafana-vscode.openUrl",
"when": "resourceExtname == .json || resourceExtname == .yaml || resourceExtname == .yml"
}
]
},
"snippets": [
{
"language": "json",
"path": "./snippets.json"
}
],
"iconThemes": [
{
"id": "grafana",
"label": "Grafana",
"path": "./public/icon-theme.json"
}
],
"configuration": {
"title": "Grafana",
"properties": {
"grafana-vscode.URL": {
"type": "string",
"default": "http://localhost:3000",
"description": "Grafana instance URL",
"order": 1
},
"grafana-vscode.service-account-token": {
"type": "boolean",
"default": true,
"markdownDescription": "A service account token for your Grafana instance. Click the link below to add this to secure storage.\n\n[Set your token, securely](command:grafana-vscode.setPassword)",
"order": 2
},
"grafana-vscode.theme": {
"type": "string",
"default": "inherit",
"enum": [
"inherit",
"fixed",
"dark",
"light"
],
"enumDescriptions": [
"Inherit Grafana theme from VSCode",
"Use Grafana's own default theme",
"Use dark Grafana theme",
"Use light Grafana theme"
]
},
"grafana-vscode.telemetry": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable basic telemetry. All data is anonymous and only used to help with feature prioritization/gloating/etc.",
"order": 3
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/glob": "^8.1.0",
"@types/http-proxy": "^1.17.10",
"@types/mocha": "^10.0.1",
"@types/node": "18.x",
"@types/source-map-support": "^0.5.8",
"@types/uuid": "^9.0.6",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.2.3",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"prettier": "3.0.2",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.2",
"http-proxy": "^1.18.1",
"http-proxy-middleware": "^2.0.6",
"open": "^8.4.2",
"source-map-support": "^0.5.21",
"transformer-proxy": "^0.3.5",
"uuid": "^9.0.1",
"yaml": "^2.5.1"
}
}