-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
191 lines (191 loc) · 9.51 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "cushystudio",
"displayName": "[ALPHA] Cushy Studio",
"type": "module",
"author": {
"name": "rvion",
"url": "https://github.com/rvion/CushyStudio",
"email": "[email protected]"
},
"icon": "public/CushyLogo.png",
"publisher": "rvion",
"repository": {
"type": "git",
"url": "https://github.com/rvion/CushyStudio"
},
"description": "🎨 Generative Art Web-IDE and embeddable typescript SDK - based on ComfyUI",
"license": "AGPL-3.0",
"version": "0.0.99",
"categories": [
"Other"
],
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"scripts": {
"postinstall": "patch-package",
"📌 LEGACY": "-----------------------------------------------------------------------",
"start": "CUSHY_RUN_MODE=dist node src/shell/start.cjs",
"start-dev": "CUSHY_RUN_MODE=dev node src/shell/start.cjs",
"dev": "CUSHY_RUN_MODE=dev node src/shell/start.cjs",
"run-update": "CUSHY_RUN_MODE=dev node src/shell/update.cjs",
"run-install": "CUSHY_RUN_MODE=dev node src/shell/install.cjs",
"📌 CODEGEN": "----------------------------------------------------------------------",
"gen-lezer": "lezer-generator ./src/controls/fields/prompt/grammar/.grammar -o ./src/controls/fields/prompt/grammar/grammar.parser.ts",
"gen-bins-node": "npm rebuild",
"gen-supa-types": "supabase gen types typescript --schema public --linked > src/supa/database.types.ts",
"gen-supa-types-full": "supabase gen types typescript --schema public --schema auth --linked > src/supa/database.types.ts",
"gen-bins": "electron-builder install-app-deps",
"gen-manager": "bun src/manager/_utils/_downloadComfyManagerJSONs.ts",
"gen-assets": "bun src/utils/assets/assets.gen.ts",
"gen-dts": "tsc -p tsconfig.doc.json",
"gen-syms": "node src/shell/externals.cjs",
"gen-doc": "typedoc --excludeInternal --out site/documentation src/back/Runtime.ts src/controls/Builder.ts src/controls/Widget.ts",
"gen-virtual": "bun src/utils/codegen/gen.initial-schema.ts",
"supa:migrate": "supabase migration up --linked",
"📌 TEST": "------------------------------------------------------------------------",
"test": "bun test src",
"test:watch": "bun test --watch src",
"📌 FRONT": "------------------------------------------------------------------------",
"build": "node src/shell/build.js",
"front:shell": "electron src/shell",
"front:watch": "vite build --watch",
"front:dev": "vite dev",
"front:build": "vite build",
"front:preview": "vite preview",
"front:inspect": "npx vite-bundle-visualizer",
"📌 RELEASE": "----------------------------------------------------------------------",
"bump": "bump patch --commit=v --tag=v --push",
"diff-with-master-all": "git diff master > tmp/diff-with-master-all.diff && code tmp/diff-with-master-all.diff",
"diff-with-master-add": "git diff master | grep -Ev '^\\-' > tmp/diff-with-master.diff && code tmp/diff-with-master.diff",
"diff-with-dev-all": " git diff dev > tmp/diff-with-dev-all.diff && code tmp/diff-with-dev-all.diff",
"diff-with-dev-add": " git diff dev | grep -Ev '^\\-' > tmp/diff-with-dev.diff && code tmp/diff-with-dev.diff",
"diff-local": "cd library/local && git diff master > doc.diff && code doc.diff",
"📌 UTILS": "------------------------------------------------------------------------",
"pics": "bun --watch src/tools/autoupload-screenshots.ts",
"cycles:madge": "madge --circular src/**/*.tsx src/**/*.ts",
"cycles:skott": "skott -nit -m raw -s",
"📌 TSC": "-------------------------------------------------------------------------",
"tsc:perf": "bun ./src/perfs/monitorTSCPerfs",
"tsc:peft0": "tsc -p tsconfig.perf.json --generateTrace tmp/traceDir --noEmit && npx @typescript/analyze-trace tmp/traceDir --forceMillis=100 > x.txt",
"vscode:tsc:debug": "bun src/perfs/monitorVSCodePerfs.ts",
"📌 LINT": "-------------------------------------------------------------------------",
"lint": "./node_modules/.bin/eslint src --ext .ts,.tsx",
"lint:fix": "./node_modules/.bin/eslint src --ext .ts,.tsx --fix",
"📌 FORM": "-------------------------------------------------------------------------",
"form:transpile": " tsc -p tsconfig.doc.json",
"form:ls": " madge lib/controls/Builder.loco.js",
"form:deps:⏸️": " ./src/scripts/show-file-deps.sh src/controls/Builder.loco.ts",
"form:deps": " madge lib/controls/Builder.loco.js -i tmp/depedencies.png && code tmp/depedencies.png",
"form:deps:npm": " madge lib/controls/Builder.loco.js --include-npm -i tmp/depedencies.png && code tmp/depedencies.png",
"form:deps-svg": " madge lib/controls/Builder.loco.js -i tmp/depedencies.svg && open tmp/depedencies.svg",
"form:deps-svg:npm": "madge lib/controls/Builder.loco.js --include-npm -i tmp/depedencies.svg && code tmp/depedencies.svg",
"form:export": "rsync -r $CUSHY_INSTALL_DIR/@cushy/forms/ $MONOLOCO_INSTALL_DIR/src/cushy-forms/ --exclude=node_modules --exclude=pre --exclude=.vscode --exclude=global.d.ts --exclude=rollup.config.mjs --exclude=tsconfig.tsbuildinfo --exclude=main.js --exclude=SUMMARY.txt --delete --exclude=.gitignore --exclude=README.md --exclude=main.css --exclude=main.d.ts --exclude=main.meta.json --exclude=main.tw.css --exclude=package-lock.json --exclude=package.json --exclude=dts/main.d.rollup-stats.json --exclude=tsconfig.json --exclude=tailwind.config.js --exclude=import-sorter.json",
"form:build": " bun src/csuite-bundler/bundle-csuite.ts",
"form:bundle-dts": " './src/scripts/node_modules/.bin/rollup' -c './src/scripts/form.rollup.config.mjs'",
"form:bundle-dts2": " yarn form:bundle-dts && cp stats.json "
},
"dependencies": {
"@codemirror/autocomplete": "^6.16.3",
"@codemirror/language": "^6.10.2",
"@codemirror/lint": "^6.8.1",
"@codemirror/state": "^6.4.1",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.28.2",
"@fast-csv/parse": "^5.0.0",
"@lezer/common": "^1.2.1",
"@lezer/generator": "^1.7.1",
"@lezer/highlight": "^1.2.0",
"@lezer/lr": "^1.4.1",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@react-hook/resize-observer": "^2.0.1",
"@react-three/drei": "^9.107.0",
"@react-three/fiber": "^8.16.8",
"@sinclair/typebox": "^0.32.33",
"@supabase/supabase-js": "^2.43.5",
"@types/better-sqlite3": "^7.6.10",
"@types/react-window": "^1.8.8",
"@types/spark-md5": "^3.0.4",
"@uiw/react-json-view": "^2.0.0-alpha.24",
"@vitejs/plugin-react": "^4.3.1",
"better-sqlite3": "^11.0.0",
"body-parser": "^1.20.2",
"codemirror": "^6.0.1",
"colorjs.io": "^0.5.0",
"daisyui": "^4.12.2",
"electron": "^30.0.1",
"electron-builder": "^25.0.0-alpha.9",
"esbuild": "^0.21.5",
"express": "^4.19.2",
"fastest-levenshtein": "^1.0.16",
"flexlayout-react": "^0.7.15",
"highlight.js": "^11.9.0",
"image-meta": "^0.2.0",
"json5": "^2.2.3",
"konva": "^9.3.12",
"kysely": "^0.27.3",
"lodash.debounce": "^4.0.8",
"marked": "^13.0.0",
"mime-types": "^2.1.35",
"mobx": "^6.12.4",
"mobx-react-lite": "^4.0.7",
"mobx-utils": "^6.0.8",
"nanoid": "^5.0.7",
"nsfwjs": "^4.1.0",
"patch-package": "^8.0.0",
"pathe": "^1.1.2",
"plist": "^3.1.0",
"postcss": "^*",
"rcedit": "^4.0.1",
"react": "^18.3.1",
"react-confetti": "^6.1.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.3.1",
"react-easy-sort": "^1.6.0",
"react-error-boundary": "^4.0.13",
"react-intersection-observer": "^9.10.3",
"react-konva": "^18.2.10",
"react-toastify": "^10.0.5",
"react-window": "^1.8.10",
"react-zoom-pan-pinch": "^3.5.0",
"sharp": "^0.33.4",
"simple-git": "^3.25.0",
"spark-md5": "^3.0.2",
"tailwindcss-animate": "^1.0.7",
"three": "^0.165.0",
"tiny-case": "^1.0.3",
"typescript": "5.4",
"watcher": "^2.3.1",
"web-worker": "^1.3.0",
"xml2js": "^0.6.2",
"zod": "^3.23.8",
"zod-validation-error": "^3.3.0"
},
"devDependencies": {
"@types/marked": "^5.0.2",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.14.7",
"@types/offscreencanvas": "^2019.7.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/three": "^0.165.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/parser": "^7.13.1",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.3",
"electron-devtools-installer": "^3.2.0",
"format-imports": "^4.0.4",
"less": "^4.2.0",
"postcss": "^8.4.31",
"supabase": "^1.178.2",
"tailwindcss": "^3.4.4",
"typescript-eslint": "^7.13.1",
"vite": "^5.3.1"
},
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
}
}