-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
222 lines (222 loc) · 8.92 KB
/
package.json
File metadata and controls
222 lines (222 loc) · 8.92 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
{
"name": "@waldiez/studio",
"description": "Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez.",
"version": "0.7.1",
"type": "module",
"keywords": [
"waldiez"
],
"license": "Apache-2.0",
"private": true,
"homepage": "https://github.com/waldiez/studio",
"bugs": {
"url": "https://github.com/waldiez/studio/issues"
},
"contributors": [
{
"name": "Panagiotis Kasnesis",
"email": "pkasnesis@waldiez.io"
},
{
"name": "Lazaros Toumanidis",
"email": "laztoum@waldiez.io"
},
{
"name": "Christos Chatzigeorgiou",
"email": "chrihatz@waldiez.io"
}
],
"dependencies": {
"@monaco-editor/loader": "^1.7.0",
"@monaco-editor/react": "^4.7.0",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-table": "^8.21.3",
"@waldiez/react": "^0.7.1",
"@xterm/xterm": "^6.0.0",
"axios": "^1.13.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"highlight.js": "^11.11.1",
"lucide-react": "^0.562.0",
"marked": "^17.0.1",
"marked-highlight": "^2.2.3",
"mermaid": "^11.12.2",
"monaco-editor": "^0.55.1",
"pdfjs-dist": "^5.4.530",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-icons": "^5.5.0",
"react-resizable-panels": "^4.4.0",
"react-router-dom": "^7.12.0",
"shiki": "^3.21.0",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0",
"xterm-addon-search": "^0.13.0",
"xterm-addon-web-links": "^0.9.0"
},
"devDependencies": {
"@cspell/eslint-plugin": "^9.6.0",
"@eslint/compat": "^2.0.1",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "9.39.2",
"@lcov-viewer/cli": "^1.3.0",
"@stylistic/eslint-plugin": "^5.7.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.6.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^30.0.0",
"@types/node": "^25.0.7",
"@types/react": "^19.2.8",
"@types/react-dom": "^19.2.3",
"@types/tar-stream": "^3.1.4",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/browser": "^4.0.17",
"@vitest/browser-playwright": "^4.0.17",
"@vitest/coverage-v8": "4.0.17",
"all-contributors-cli": "^6.26.1",
"dotenv": "^17.2.3",
"esbuild": "0.27.2",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-headers": "^1.3.3",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"eslint-plugin-tsdoc": "^0.5.0",
"fs-extra": "^11.3.3",
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"lint-staged": "^16.2.7",
"npm-run-all2": "^8.0.4",
"playwright": "^1.57.0",
"prettier": "^3.7.4",
"react-use-websocket": "^4.13.0",
"rimraf": "^6.1.2",
"stylelint": "^16.26.1",
"stylelint-config-recommended": "^17.0.0",
"stylelint-config-standard": "^39.0.1",
"stylelint-prettier": "^5.0.3",
"tar-stream": "^3.1.7",
"terser": "^5.44.1",
"tmp": "0.2.5",
"tsx": "^4.21.0",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.0",
"vite": "^7.3.1",
"vite-plugin-static-copy": "^3.1.4",
"vitest": "^4.0.17"
},
"scripts": {
"prepare": "node -e \"(async () => { await import('./.husky/install.mjs').catch(() => {}) })()\"",
"check:tailwind": "node --import=tsx scripts/tailwind_windows_arm64.ts",
"dev:front": "bun monaco && vite -c vite.config.ts",
"dev:back": "bun python -m waldiez_studio --log-level debug",
"dev:back:reload": "bun python -m waldiez_studio --log-level debug --reload",
"dev:reload": "npm-run-all --parallel dev:front dev:back:reload",
"dev": "npm-run-all --parallel dev:front dev:back",
"check-types": "tsc -b --noEmit",
"python": "bun scripts/python.ts",
"monaco": "bun scripts/monaco.ts",
"before:build": "bun monaco",
"after:build": "bun scripts/post-build.ts",
"build": "bun before:build && npx tsc -b && npx vite -c vite.config.ts build && bun after:build",
"build:back": "bun python scripts/build.py",
"image": "bun python scripts/image.py",
"format": "bun prettier && bun stylelint && bun eslint",
"format:back": "bun python scripts/format.py",
"lint": "bun check-types && bun prettier:check && bun stylelint:check && bun eslint:check",
"lint:back": "bun python scripts/lint.py",
"forlint": "bun format && bun lint",
"eslint": "bun eslint:check --fix",
"eslint:check": "eslint --report-unused-disable-directives --max-warnings 0 --no-warn-ignored --cache --config eslint.config.mjs",
"prettier": "prettier \"**/*{.ts,.tsx,.css,.json,.md}\" --write --list-different",
"prettier:check": "prettier \"**/*{.ts,.tsx,.css,.json,.md}\" --check",
"stylelint": "bun stylelint:check --fix",
"stylelint:check": "stylelint --ignore-path .gitignore --cache \"**/*{.css,.scss}\"",
"clean:cache": "rimraf .eslintcache .stylelintcache",
"clean:tsbuild": "rimraf tsconfig.app.tsbuildinfo tsconfig.node.tsbuildinfo tsconfig.tsbuildinfo",
"clean:dist": "rimraf waldiez_studio/static/frontend",
"clean:coverage": "rimraf coverage/frontend",
"clean": "bun clean:cache && bun clean:tsbuild && bun clean:dist && bun clean:coverage",
"clean:back": "bun python scripts/clean.py",
"before:test": "bun monaco && bun playwright install chromium && rimraf coverage/frontend",
"after:test": "bun lcov:merge",
"test:front": "bun before:test && vitest run --config vite.config.ts --coverage",
"test:back": "bun python -m pytest -c pyproject.toml --cov=waldiez_studio --cov-branch --cov-report term-missing:skip-covered --cov-report html:coverage/backend/html --cov-report xml:coverage/backend/coverage.xml --cov-report lcov:coverage/backend/lcov.info --junitxml=coverage/backend/xunit.xml tests",
"test": "bun test:front && bun after:test",
"lcov:merge": "bun python scripts/merge_lcov.py && bun scripts/lcov_html.ts",
"lcov:html": "lcov-viewer lcov -o coverage/html coverage/lcov.info",
"requirements:back": "bun python -m pip install -r requirements/all.txt",
"requirements:front": "bun install",
"requirements": "bun run requirements:front && bun run requirements:back",
"version:get": "bun scripts/version.ts --get",
"version:set": "bun scripts/version.ts --set",
"all:front": "bun run requirements:front && bun run clean && bun run format && bun run lint && bun run test && bun run build",
"all:back": "bun requirements:back && bun clean:back && bun format:back && bun lint:back && bun test:back && bun build:back",
"all": "bun requirements && bun clean && bun run format && bun run lint && bun run test && bun run build && bun version:get"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}": [
"bun run lint"
]
},
"resolutions": {
"esbuild": "0.25.9",
"tmp": "0.2.5"
},
"overrides": {
"rollup": "npm:@rollup/wasm-node",
"tmp": "0.2.5"
},
"prettier": {
"tabWidth": 4,
"printWidth": 110,
"arrowParens": "avoid",
"bracketSpacing": true,
"singleQuote": false,
"trailingComma": "all",
"endOfLine": "lf",
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrder": [
"^@fortawesome/",
"^@xyflow/",
"^react",
"^react-dom",
"^react-select",
"^zustand",
"^nanoid",
"^@monaco-editor/react",
"^@waldiez/",
"^[./]"
],
"overrides": [
{
"files": [
"**/*.yml",
"**/*.yaml",
"**/*.md",
"**/*.css"
],
"options": {
"tabWidth": 2
}
}
]
},
"packageManager": "bun@1.3.5"
}