Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 6.87 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 6.87 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
{
"name": "comfyui-desktop-2",
"version": "1.1.7",
"description": "Comfy Desktop",
"author": {
"name": "Comfy Org",
"email": "support@comfy.org",
"url": "https://www.comfy.org"
},
"repository": "github:Comfy-Org/Comfy-Desktop",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/Comfy-Org/Comfy-Desktop",
"engines": {
"node": ">=22",
"pnpm": ">=10"
},
"packageManager": "pnpm@10.28.1",
"main": "./out/main/index.js",
"scripts": {
"init": "pnpm install && pnpm run bootstrap",
"init:dev": "pnpm run init && pnpm run dev",
"predev": "node -e \"const fs=require('fs'),p=process.platform==='win32'?'win-'+process.arch:process.platform==='darwin'?'mac-arm64':'linux-'+process.arch;if(!fs.existsSync('bootstrap-python/'+p))console.log('\\n\\x1b[33m⚠ Bootstrap python not found. Run \\\"pnpm run bootstrap\\\" for pre-install git support.\\x1b[0m\\n')\"",
"dev": "electron-vite dev",
"predev:bootstrap": "node -e \"const fs=require('fs'),p=process.platform==='win32'?'win-'+process.arch:process.platform==='darwin'?'mac-arm64':'linux-'+process.arch;if(!fs.existsSync('bootstrap-python/'+p)){console.log('Building bootstrap python...');require('child_process').execSync('node scripts/build-bootstrap-python.mjs',{stdio:'inherit'})}\"",
"dev:bootstrap": "node -e \"process.env.COMFY_FORCE_BOOTSTRAP_GIT='1';require('child_process').execSync('electron-vite dev',{stdio:'inherit',env:process.env})\"",
"build": "pnpm run typecheck && electron-vite build",
"start": "electron-vite preview",
"postinstall": "node ./scripts/postinstall.mjs",
"todesktop:beforeInstall": "./scripts/todesktop-beforeInstall.cjs",
"todesktop:beforeBuild": "./scripts/todesktop-beforeBuild.cjs",
"todesktop:afterPack": "./scripts/todesktop-afterPack.cjs",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "vue-tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck:e2e": "tsc --noEmit -p tsconfig.e2e.json --composite false",
"typecheck:integration": "tsc --noEmit -p tsconfig.vitest-integration.json --composite false",
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web && pnpm run typecheck:e2e && pnpm run typecheck:integration",
"build:unpack": "pnpm run build && electron-builder --dir",
"build:win": "pnpm run build && electron-builder --win",
"build:mac": "pnpm run build && electron-builder --mac",
"build:linux": "pnpm run build && electron-builder --linux",
"bootstrap": "node scripts/build-bootstrap-python.mjs",
"bootstrap:fetch": "node scripts/fetch-bootstrap-python.mjs",
"bridge-types:gen": "pnpm exec tsc -p tsconfig.comfy-desktop-bridge-types.json && pnpm exec prettier --write \"packages/comfyui-desktop-bridge-types/*.d.ts\"",
"bridge-types:check": "pnpm run bridge-types:gen && git add --intent-to-add -- 'packages/comfyui-desktop-bridge-types/*.d.ts' && git diff --exit-code -- 'packages/comfyui-desktop-bridge-types/*.d.ts'",
"font:fetch": "node scripts/fetch-font.mjs",
"sandbox:gen": "node scripts/generate-sandbox.mjs",
"datadog:sourcemaps:upload": "node ./scripts/upload-datadog-sourcemaps.mjs",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.{ts,vue}\" \"*.{json,ts,yml}\"",
"format:check": "prettier --check \"src/**/*.{ts,vue}\" \"*.{json,ts,yml}\"",
"test": "vitest run",
"test:integration": "vitest run -c vitest.integration.config.ts",
"test:e2e": "playwright test",
"test:e2e:macos": "playwright test --project=macos",
"test:e2e:windows": "playwright test --project=windows",
"test:e2e:hardware-acceleration": "playwright test --project=windows e2e/hardware-acceleration.test.ts",
"test:e2e:linux": "playwright test --project=linux",
"test:e2e:lifecycle": "playwright test --project=lifecycle",
"test:e2e:lifecycle:install": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta\"",
"test:e2e:lifecycle:update": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-update\"",
"test:e2e:lifecycle:crosschannel": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-crosschannel\"",
"test:e2e:lifecycle:snapshot": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-snapshot\"",
"test:e2e:lifecycle:manager": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-manager\"",
"test:e2e:lifecycle:picker": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-picker\"",
"test:e2e:lifecycle:bootwindow": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-bootwindow\"",
"test:e2e:lifecycle:copy": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-copy\"",
"test:e2e:lifecycle:remote": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-remote\"",
"test:e2e:lifecycle:delete": "playwright test --project=lifecycle e2e/lifecycle.test.ts --grep \"@sec-setup|@sec-meta|@sec-delete\"",
"test:watch": "vitest",
"prepare": "node ./scripts/prepare.mjs"
},
"dependencies": {
"7zip-bin": "^5.2.0",
"@datadog/browser-rum": "6.28.1",
"@todesktop/runtime": "^2.1.3",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"electron-updater": "^6.7.3",
"node-pty": "^1.1.0",
"posthog-node": "^5.30.7",
"semver": "^7.7.4",
"smol-toml": "^1.6.1",
"systeminformation": "^5.31.5",
"tar": "^7.5.11",
"yaml": "^2.9.0"
},
"devDependencies": {
"@datadog/datadog-ci": "^5.9.0",
"@electron/rebuild": "^3.7.2",
"@eslint/js": "^10.0.1",
"@pinia/testing": "^1.0.3",
"@playwright/test": "^1.58.2",
"@tailwindcss/vite": "^4.1.8",
"@types/node": "^22.19.1",
"@types/semver": "^7.7.1",
"@vitejs/plugin-vue": "^6.0.2",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^13.5.0",
"electron": "40.4.1",
"electron-builder": "^26.7.0",
"electron-vite": "^5.0.0",
"eslint": "^10.0.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-unused-imports": "^4.4.1",
"eslint-plugin-vue": "^10.8.0",
"globals": "^17.3.0",
"happy-dom": "^20.8.9",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lucide-vue-next": "^0.525.0",
"pinia": "^3.0.3",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"tailwindcss": "^4.1.8",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.0",
"vite": "^7.3.1",
"vitest": "^4.0.18",
"vue": "^3.5.25",
"vue-eslint-parser": "^10.4.0",
"vue-i18n": "^11.1.6",
"vue-tsc": "^3.1.6"
},
"pnpm": {
"onlyBuiltDependencies": [
"electron",
"electron-winstaller",
"esbuild",
"node-pty"
]
}
}