Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
259 lines (259 loc) · 13.5 KB
/
Copy pathpackage.json
File metadata and controls
259 lines (259 loc) · 13.5 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
{
"name": "@comfyorg/comfyui-frontend",
"version": "1.61.0",
"private": true,
"description": "Official front-end implementation of ComfyUI",
"homepage": "https://comfy.org",
"license": "GPL-3.0-only",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"type": "module",
"scripts": {
"architecture:catalog": "tsx tools/architecture/src/cli.ts --catalog",
"architecture:check": "tsx tools/architecture/src/cli.ts --check",
"architecture:update": "tsx tools/architecture/src/cli.ts --update",
"adr:check": "tsx scripts/check-adrs.ts",
"command-locales:check": "tsx scripts/check-command-locales.ts",
"follower-invariants:check": "tsx scripts/check-follower-invariants.ts",
"audit:inherited-classes": "tsx tools/design-system-audits/src/cli.ts",
"follower-document-mutations:check": "tsx scripts/check-follower-document-mutations.ts",
"benchmark:packages": "pnpm build:packages && tsx tools/architecture/src/benchmark-package-references.ts",
"build:packages": "node node_modules/vue-tsc/bin/vue-tsc.js -b tsconfig.packages.json",
"build:dist": "vite build --config vite.config.mts",
"build:cloud": "cross-env DISTRIBUTION=cloud vite build --config vite.config.mts",
"build:desktop-dist": "cross-env DISTRIBUTION=desktop vite build --config vite.config.mts",
"build-storybook": "storybook build",
"build:types": "vite build --config vite.types.config.mts && tsx scripts/prepare-types.ts",
"build:analyze": "cross-env ANALYZE_BUNDLE=true pnpm build",
"build": "pnpm typecheck && vite build --config vite.config.mts",
"check:pending-server-facts": "tsx scripts/pending-server-facts.ts",
"check:types-consumer": "tsx tools/types-consumer-check/src/cli.ts",
"clean": "pnpm dlx rimraf dist dist-ssr coverage playwright-report blob-report test-results node_modules/.vite apps/billing-web/dist",
"clean:all": "pnpm clean && pnpm dlx rimraf node_modules",
"container:start": "scripts/start-comfyui-e2e.sh",
"size:collect": "tsx scripts/size-collect.ts",
"collect-i18n": "pnpm exec playwright test --config=playwright.i18n.config.ts",
"dev:cloud": "cross-env DEV_SERVER_COMFYUI_URL=https://testcloud.comfy.org/ vite --config vite.config.mts",
"dev:cloud:billing-web": "cross-env DEV_SERVER_COMFYUI_URL=https://testcloud.comfy.org/ VITE_BILLING_WEB_URL=http://localhost:5174 pnpm --parallel --filter @comfyorg/comfyui-frontend --filter @comfyorg/billing-web run dev",
"dev:cloud:staging": "cross-env DEV_SERVER_COMFYUI_URL=https://stagingcloud.comfy.org/ vite --config vite.config.mts",
"dev:cloud:prod": "cross-env DEV_SERVER_COMFYUI_URL=https://cloud.comfy.org/ vite --config vite.config.mts",
"dev:cloud:crdt": "cross-env DEV_SERVER_COMFYUI_URL=https://testcloud.comfy.org/ VITE_AGENT_CRDT_FOLLOWER=true vite --config vite.config.mts --port 6273 --strictPort",
"dev:electron": "cross-env DISTRIBUTION=desktop vite --config vite.electron.config.mts",
"dev:test": "cross-env VITE_USE_LEGACY_DEFAULT_GRAPH=true DISABLE_VUE_PLUGINS=true vite --config vite.config.mts",
"dev": "vite --config vite.config.mts",
"fallow": "fallow",
"fallow:audit": "fallow audit",
"format:check": "oxfmt --check \"!apps/**\" \"!packages/**\" \"!tools/test-recorder/**\" \"!tools/architecture/**\"",
"format": "oxfmt --write \"!apps/**\" \"!packages/**\" \"!tools/test-recorder/**\" \"!tools/architecture/**\"",
"json-schema": "tsx scripts/generate-json-schema.ts",
"qa:desktop-frontend": "tsx scripts/qa-desktop-frontend.ts",
"deps:audit": "depcruise src",
"knip": "knip --cache",
"knip:components": "knip --production --workspace . --include files",
"lint:eslint": "eslint --cache --concurrency auto",
"lint:fix": "pnpm oxlint --fix && pnpm lint:eslint --fix --cache-strategy content && pnpm lint:packages",
"lint:packages": "pnpm --filter './packages/*' -r --if-present run lint",
"lint:server-facts": "tsx scripts/server-fact-gate.ts",
"lint:unstaged:fix": "tsx scripts/lint-unstaged.ts --fix",
"lint": "pnpm run --parallel --workspace-root '/^(stylelint|oxlint|architecture:check|lint:eslint)$/' && pnpm lint:packages",
"locale": "tsx scripts/i18n/update-locales.ts",
"locale:check": "tsx scripts/i18n/update-locales.ts --check",
"oxlint": "oxlint . --type-aware",
"prepare": "(pnpm exec husky || true) && (git config blame.ignoreRevsFile .git-blame-ignore-revs || true) && pnpm build:packages",
"preview": "vite preview --config vite.config.mts",
"storybook": "storybook dev -p 6006",
"stylelint:fix": "stylelint --cache --cache-strategy content --fix '{apps,packages,src}/**/*.{css,vue}'",
"stylelint": "stylelint --cache --cache-strategy content '{apps,packages,src}/**/*.{css,vue}'",
"comfy-test": "tsx tools/test-recorder/src/index.ts",
"test:assets-flag-artifact": "tsx scripts/checkAssetsFlagArtifact.ts",
"test:expected-failure-ratchet": "tsx tools/expected-failures/src/cli.ts",
"test:browser": "pnpm exec playwright test",
"test:browser:local": "cross-env PLAYWRIGHT_LOCAL=1 tsx scripts/test-browser-local.ts",
"custom-node-quarantine": "tsx scripts/customNodeQuarantine.ts",
"custom-node-shard": "tsx scripts/customNodeShard.ts",
"gen:cloud-manifest": "tsx scripts/cloud-manifest.ts",
"test:custom-nodes": "cross-env PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm exec playwright test browser_tests/tests/customNodes/ --config playwright.chrome.config.ts --workers=1",
"test:custom-nodes:watch": "cross-env PLAYWRIGHT_TEST_URL=http://localhost:5173 PLAYWRIGHT_LOCAL=1 SLOW_MO=300 pnpm exec playwright test browser_tests/tests/customNodes/customNode.regression.spec.ts browser_tests/tests/customNodes/connectivity.spec.ts --config playwright.chrome.config.ts --workers=1 --headed",
"test:custom-nodes:debug": "cross-env PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm exec playwright test browser_tests/tests/customNodes/customNode.regression.spec.ts browser_tests/tests/customNodes/connectivity.spec.ts --config playwright.chrome.config.ts --workers=1 --debug",
"test:custom-nodes:connectivity": "pnpm test:custom-nodes:debug -g \"connectivity\"",
"test:custom-nodes:self-check": "pnpm test:custom-nodes:watch -g \"self-check\"",
"test:coverage": "vitest run --coverage",
"test:unit": "vitest run",
"typecheck": "pnpm typecheck:app",
"typecheck:all": "pnpm typecheck && pnpm typecheck:workspaces && pnpm typecheck:browser && pnpm typecheck:build && pnpm typecheck:scripts && pnpm typecheck:tools",
"typecheck:app": "tsx scripts/vue-tsc-native.ts --noEmit",
"typecheck:account-core": "pnpm --filter @comfyorg/account-core typecheck",
"typecheck:account-ui": "pnpm --filter @comfyorg/account-ui typecheck",
"typecheck:billing-contract": "pnpm --filter @comfyorg/billing-contract typecheck",
"typecheck:browser": "tsx scripts/vue-tsc-native.ts --project browser_tests/tsconfig.json",
"typecheck:build": "tsx scripts/vue-tsc-native.ts --project build/tsconfig.json",
"typecheck:billing-web": "pnpm --filter @comfyorg/billing-web run typecheck",
"typecheck:scripts": "tsx scripts/vue-tsc-native.ts --project scripts/tsconfig.json",
"typecheck:tools": "tsx scripts/vue-tsc-native.ts --project tools/tsconfig.json",
"typecheck:workspaces": "pnpm --recursive --if-present typecheck",
"zipdist": "tsx scripts/zipdist.ts",
"test:custom-nodes:local": "start-server-and-test 'cd \"${TEST_COMFYUI_DIR:?point at your ComfyUI checkout (README Prerequisites)}\"; cp \"$OLDPWD/browser_tests/assets/plain_video.mp4\" input/ || { echo \"could not stage plain_video.mp4 into $PWD/input - the curated VHS workflow cannot run without it\" >&2; exit 1; }; PY=python3; [ -x venv/bin/python ] && PY=venv/bin/python; [ -x .venv/bin/python ] && PY=.venv/bin/python; \"$PY\" main.py --port 8288 --multi-user --cache-none' http-get://127.0.0.1:8288/system_stats 'cross-env DEV_SERVER_COMFYUI_URL=http://127.0.0.1:8288 vite --config vite.config.mts --strictPort' http-get://localhost:5173 test:custom-nodes"
},
"dependencies": {
"@alloc/quick-lru": "catalog:",
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
"@comfyorg/account-core": "workspace:*",
"@comfyorg/account-ui": "workspace:*",
"@comfyorg/api-client": "workspace:*",
"@comfyorg/billing-contract": "workspace:*",
"@comfyorg/billing-core": "workspace:*",
"@comfyorg/comfy-multi-player": "catalog:",
"@comfyorg/comfyui-desktop-bridge-types": "catalog:",
"@comfyorg/comfyui-electron-types": "catalog:",
"@comfyorg/design-system": "workspace:*",
"@comfyorg/graph-model": "workspace:*",
"@comfyorg/keybindings": "workspace:*",
"@comfyorg/layer-editor": "workspace:*",
"@comfyorg/mask-editor": "workspace:*",
"@comfyorg/object-info-parser": "workspace:*",
"@comfyorg/registry-types": "workspace:*",
"@comfyorg/settings-core": "workspace:*",
"@comfyorg/shared-frontend-utils": "workspace:*",
"@comfyorg/tailwind-utils": "workspace:*",
"@comfyorg/telemetry": "workspace:*",
"@comfyorg/viewport3d": "workspace:*",
"@customerio/cdp-analytics-browser": "catalog:",
"@datadog/browser-rum": "catalog:",
"@floating-ui/vue": "catalog:",
"@formkit/auto-animate": "catalog:",
"@iconify/json": "catalog:",
"@sentry/vue": "catalog:",
"@stripe/stripe-js": "catalog:",
"@tanstack/vue-virtual": "catalog:",
"@tiptap/core": "catalog:",
"@tiptap/extension-table": "catalog:",
"@tiptap/pm": "catalog:",
"@tiptap/starter-kit": "catalog:",
"@vueuse/core": "catalog:",
"@vueuse/integrations": "catalog:",
"@vueuse/router": "^14.4.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"ag-psd": "catalog:",
"algoliasearch": "catalog:",
"axios": "catalog:",
"chart.js": "^4.5.0",
"dompurify": "catalog:",
"dotenv": "catalog:",
"es-toolkit": "^1.39.9",
"extendable-media-recorder": "^9.2.27",
"extendable-media-recorder-wav-encoder": "^7.0.129",
"firebase": "catalog:",
"fuse.js": "7.0.0",
"glob": "catalog:",
"loglevel": "^1.9.2",
"marked": "catalog:",
"mediabunny": "catalog:",
"mixpanel-browser": "catalog:",
"pinia": "catalog:",
"posthog-js": "catalog:",
"primeicons": "catalog:",
"reka-ui": "catalog:",
"semver": "^7.7.2",
"shiki": "catalog:",
"three": "catalog:",
"tiptap-markdown": "^0.9.0",
"typegpu": "catalog:",
"uuid": "catalog:",
"vee-validate": "catalog:",
"vue": "catalog:",
"vue-i18n": "catalog:",
"vue-router": "catalog:",
"yjs": "catalog:",
"zod": "catalog:",
"zod-validation-error": "catalog:"
},
"devDependencies": {
"@comfyorg/design-system-audits": "workspace:*",
"@comfyorg/ingest-types": "workspace:*",
"@comfyorg/test-utils": "workspace:*",
"@eslint/js": "catalog:",
"@intlify/eslint-plugin-vue-i18n": "catalog:",
"@microsoft/api-extractor": "catalog:",
"@pinia/testing": "catalog:",
"@playwright/test": "catalog:",
"@sentry/vite-plugin": "catalog:",
"@storybook/addon-docs": "catalog:",
"@storybook/addon-mcp": "catalog:",
"@storybook/vue3": "catalog:",
"@storybook/vue3-vite": "catalog:",
"@tailwindcss/vite": "catalog:",
"@testing-library/jest-dom": "catalog:",
"@testing-library/user-event": "catalog:",
"@testing-library/vue": "catalog:",
"@total-typescript/shoehorn": "catalog:",
"@types/fs-extra": "catalog:",
"@types/jsdom": "catalog:",
"@types/node": "catalog:",
"@types/semver": "catalog:",
"@types/three": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vitest/ui": "catalog:",
"@webgpu/types": "catalog:",
"cross-env": "catalog:",
"dependency-cruiser": "catalog:",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-import-resolver-typescript": "catalog:",
"eslint-plugin-better-tailwindcss": "catalog:",
"eslint-plugin-import-x": "catalog:",
"eslint-plugin-oxlint": "catalog:",
"eslint-plugin-playwright": "catalog:",
"eslint-plugin-regexp": "catalog:",
"eslint-plugin-storybook": "catalog:",
"eslint-plugin-testing-library": "catalog:",
"eslint-plugin-unused-imports": "catalog:",
"eslint-plugin-vue": "catalog:",
"fallow": "catalog:",
"fast-check": "catalog:",
"fs-extra": "catalog:",
"globals": "catalog:",
"happy-dom": "catalog:",
"husky": "catalog:",
"jsdom": "catalog:",
"jsonc-parser": "catalog:",
"knip": "catalog:",
"lint-staged": "catalog:",
"markdown-table": "catalog:",
"monocart-coverage-reports": "catalog:",
"openai": "catalog:",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"oxlint-tsgolint": "catalog:",
"picocolors": "catalog:",
"postcss-html": "catalog:",
"pretty-bytes": "catalog:",
"rollup-plugin-visualizer": "catalog:",
"start-server-and-test": "catalog:",
"storybook": "catalog:",
"stylelint": "catalog:",
"tailwindcss": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "catalog:",
"typescript-native-bridge": "catalog:",
"unplugin-icons": "catalog:",
"unplugin-typegpu": "catalog:",
"unplugin-vue-components": "catalog:",
"vite": "catalog:",
"vite-plugin-dts": "catalog:",
"vite-plugin-html": "catalog:",
"vite-plugin-vue-devtools": "catalog:",
"vitest": "catalog:",
"vue-component-type-helpers": "catalog:",
"vue-eslint-parser": "catalog:",
"vue-tsc": "catalog:",
"yaml": "catalog:",
"zip-dir": "catalog:"
},
"engines": {
"node": ">=26.8.2 <27",
"pnpm": ">=11.3"
},
"packageManager": "pnpm@11.28.10"
}