-
Notifications
You must be signed in to change notification settings - Fork 171
Expand file tree
/
Copy pathpackage.json
More file actions
261 lines (261 loc) · 7.84 KB
/
package.json
File metadata and controls
261 lines (261 loc) · 7.84 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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
{
"name": "flyde-vscode",
"displayName": "Flyde",
"description": "Flyde is an open-source, visual programming language. It runs in the IDE, integrates with existing TypeScript code, both browser and Node.js.",
"version": "1.0.46",
"publisher": "flyde",
"engines": {
"vscode": "^1.75.0"
},
"icon": "icon.png",
"repository": "https://github.com/flydelabs/flyde",
"categories": [
"Programming Languages",
"Visualization",
"Testing",
"Education"
],
"keywords": [
"visual programming",
"flow-based",
"low-code",
"reactive",
"FBP"
],
"scripts": {
"vscode:prepackage": "npm run build",
"link-all": "npm link @flyde/core @flyde/loader @flyde/dev-server @flyde/editor @flyde/nodes",
"update-all": "npm update @flyde/core @flyde/loader @flyde/dev-server @flyde/editor",
"compile": "tsc -p ./",
"build": "npm run compile && npm run typecheck:webview && npm run build:webview",
"build:webview": "vite build",
"typecheck:webview": "tsc --noEmit --project tsconfig.webview.json",
"watch": "tsc -watch -p ./",
"dev": "vite",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run build && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js && ([ \"$SKIP_VISUAL_TESTS\" = \"true\" ] || npm run test:visual)",
"pretest:visual": "npx playwright install chromium",
"test:visual": "npx playwright test",
"test:visual:update": "npx playwright test --update-snapshots",
"test:visual:ui": "npx playwright test --ui",
"test:visual:report": "npx playwright show-report playwright-report",
"release": "vsce package --no-yarn && vsce publish minor"
},
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
"customEditors": [
{
"viewType": "flydeEditor",
"displayName": "Flyde Flow Editor",
"selector": [
{
"filenamePattern": "*.flyde"
}
],
"priority": "default"
}
],
"languages": [
{
"id": "flyde",
"extensions": [
".flyde"
],
"aliases": [
"Flyde",
"flyde"
],
"icon": {
"light": "./fileicons/icon.svg",
"dark": "./fileicons/icon.svg"
}
}
],
"commands": [
{
"command": "flyde.openAsText",
"title": "Flyde: Open Flow as Text"
},
{
"command": "flyde.newVisualFlow",
"title": "Flyde: New Visual Flow"
},
{
"command": "flyde.setOpenAiToken",
"title": "Flyde: Set OpenAI Token"
},
{
"command": "flyde.clearOpenAiToken",
"title": "Flyde: Clear OpenAI Token"
},
{
"command": "flyde.showPrivacySettings",
"title": "Flyde: Privacy & Analytics Settings"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceLangId == flyde",
"command": "flyde.openAsText",
"group": "flyde"
},
{
"command": "flyde.newVisualFlow",
"group": "flyde"
}
],
"file/newFile": [
{
"command": "flyde.newVisualFlow",
"group": "flyde"
}
]
},
"walkthroughs": [
{
"id": "quick-start",
"title": "Flyde Quick Start",
"description": "This walkthrough will help you get started with Flyde.",
"steps": [
{
"id": "install",
"title": "Install Flyde Extension",
"media": {
"image": "icon.png",
"altText": "Flyde icon"
},
"description": "Install the Flyde extension from the marketplace",
"completionEvents": [
"onExtensionInstalled:flyde-vscode"
]
},
{
"id": "create-flow",
"title": "Create your first visual flow",
"description": "Create a new visual flow by opening the file explorer's context menu and selecting `New Visual Flow`. Or by using the command palette and selecting `Flyde: New Visual Flow`.",
"media": {
"image": "media/walkthrough/new-flow.gif",
"altText": "Create a new visual flow"
},
"completionEvents": [
"onCommand:flyde.newVisualFlow"
]
},
{
"id": "open-flow",
"title": "Open your first visual flow",
"description": "Open a visual flow by double clicking on it in the file explorer.",
"media": {
"markdown": "media/walkthrough/open-flow.md"
},
"completionEvents": [
"onContext:flyde.flowLoaded"
]
},
{
"id": "run-flow",
"title": "Run flow",
"description": "Run your flow by clicking on the `Run` button in the right actions bar.",
"media": {
"image": "media/walkthrough/run-flow.gif",
"altText": "Run a flow"
},
"completionEvents": [
"onContext:flyde.ranFlow"
]
},
{
"id": "learn-more",
"title": "Integrate Flyde into your project",
"description": "Learn more about how to integrate Flyde into your project by reading the [documentation](https://www.flyde.dev/docs/integrate-flows).",
"media": {
"image": "icon.png",
"altText": "Flyde icon"
},
"completionEvents": [
"onLink:https://www.flyde.dev/docs/integrate-flows"
]
}
]
}
],
"configuration": {
"type": "object",
"title": "Flyde Configuration",
"properties": {
"flyde.openAiToken": {
"type": "string",
"default": "",
"description": "The OpenAI API Token used in AI node creation"
},
"flyde.telemetry.enabled": {
"type": "boolean",
"default": true,
"description": "Enable anonymous usage analytics to help improve Flyde. No personal information is collected."
}
}
}
},
"devDependencies": {
"@playwright/test": "^1.53.2",
"@types/glob": "^8.0.0",
"@types/lodash": "^4.14.197",
"@types/mocha": "^10.0.1",
"@types/node": "^20.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/sinon": "^10.0.14",
"@types/vscode": "^1.69.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vitejs/plugin-react": "^4.2.0",
"@vscode/sqlite3": "5.1.8-vscode",
"@vscode/test-electron": "^2.4.1",
"eslint": "^8.18.0",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"sass-embedded": "^1.89.2",
"sinon": "^15.0.4",
"typescript": "^5.5.4",
"vite": "^5.0.0",
"vite-plugin-checker": "^0.9.3"
},
"dependencies": {
"@flyde/core": "workspace:*",
"@flyde/editor": "workspace:*",
"@flyde/loader": "workspace:*",
"@flyde/nodes": "workspace:*",
"@paralleldrive/cuid2": "^2.2.2",
"@tsconfig/node16": "^1.0.3",
"@types/axios": "^0.14.4",
"@types/express": "^4.17.17",
"@types/fs-extra": "^11.0.1",
"@vscode/vsce": "^2.19.0",
"axios": "^0.27.2",
"callsite": "^1.0.0",
"chalk": "^4.1.2",
"cuid": "^2.1.8",
"execa": "^6.1.0",
"express": "^4.18.2",
"find-free-port": "^2.0.0",
"find-git-root": "^1.0.4",
"ignore": "^5.2.4",
"openai": "^4.47.1",
"pkg-up": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"resolve-from": "^5.0.0",
"socket.io": "^4.5.1",
"ts-node": "^10.9.2",
"use-debounce": "^8.0.4",
"walker": "^1.0.8",
"yaml": "^2.3.1"
},
"packageManager": "yarn@3.3.1"
}