forked from windmill-labs/windmill-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
170 lines (170 loc) · 4.84 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
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "windmill",
"author": {
"name": "Windmill Labs",
"email": "ruben@windmill.dev"
},
"displayName": "windmill",
"description": "Local Dev Companion for the open-source developer platform Windmill.dev",
"repository": {
"type": "git",
"url": "https://github.com/windmill-labs/windmill-vscode.git"
},
"icon": "windmill.png",
"publisher": "windmill-labs",
"version": "0.2.4",
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:.wmillignore",
"workspaceContains:.wmill",
"workspaceContains:f/**"
],
"browser": "./dist/web/extension.js",
"contributes": {
"commands": [
{
"command": "windmill.start",
"title": "Show Preview",
"category": "Windmill"
},
{
"command": "windmill.runPreview",
"title": "Run preview",
"category": "Windmill"
},
{
"command": "windmill.setupConfiguration",
"title": "Configure remote, workspace and token",
"category": "Windmill"
},
{
"command": "windmill.switchWorkspace",
"title": "Switch windmill workspace",
"category": "Windmill"
},
{
"command": "windmill.addWorkspace",
"title": "add a windmill workspace",
"category": "Windmill"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == javascript || resourceLangId == typescript || resourceLangId == python || resourceLangId == bash",
"command": "windmill.start",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "windmill.runPreview",
"key": "shift+enter"
},
{
"command": "windmill.runPreview",
"key": "ctrl+enter"
},
{
"command": "windmill.runPreview",
"key": "cmd+enter"
}
],
"configuration": {
"title": "Windmill",
"properties": {
"windmill.remote": {
"type": "string",
"default": "https://app.windmill.dev/",
"description": "The full remote url including http and trailing slash",
"order": 0
},
"windmill.workspaceId": {
"type": "string",
"default": null,
"description": "The workspace id to use",
"order": 1
},
"windmill.token": {
"type": "string",
"default": null,
"description": "The user token to use",
"order": 2
},
"windmill.additionalWorkspaces": {
"order": 3,
"type": "array",
"description": "The list of addutional remotes to use",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the remote",
"default": null
},
"remote": {
"type": "string",
"default": "https://app.windmill.dev/",
"description": "The full remote url including http and trailing slash"
},
"workspaceId": {
"type": "string",
"default": null,
"description": "The workspace id to use for that remote"
},
"token": {
"type": "string",
"default": null,
"description": "The user token to use for that remote"
}
}
}
},
"windmill.currentWorkspace": {
"type": "string",
"description": "The workspace name currently used (if multiple). `main` or empty is the default one",
"default": "main",
"order": 4
}
}
}
},
"scripts": {
"test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
"pretest": "npm run compile-web",
"vscode:prepublish": "npm run package-web",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map",
"lint": "eslint src --ext ts",
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
},
"devDependencies": {
"@types/js-yaml": "^4.0.8",
"@types/mocha": "^10.0.1",
"@types/vscode": "^1.79.0",
"@types/webpack-env": "^1.18.1",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-web": "^0.0.44",
"assert": "^2.0.0",
"eslint": "^8.41.0",
"mocha": "^10.2.0",
"process": "^0.11.10",
"ts-loader": "^9.4.3",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
},
"dependencies": {
"js-yaml": "^4.1.0",
"windmill-client": "^1.201.0"
}
}