forked from fedorabakumets/telegram-bot-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
271 lines (271 loc) · 12.3 KB
/
Copy pathpackage.json
File metadata and controls
271 lines (271 loc) · 12.3 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
262
263
264
265
266
267
268
269
270
271
{
"name": "telegram-bot-builder",
"version": "1.0.0",
"description": "🤖 Visual Telegram Bot Builder - Create bots without coding using drag-and-drop interface",
"type": "module",
"license": "MIT",
"author": "fedorabakumets",
"repository": {
"type": "git",
"url": "https://github.com/fedorabakumets/telegram-bot-builder.git"
},
"bugs": {
"url": "https://github.com/fedorabakumets/telegram-bot-builder/issues"
},
"homepage": "https://github.com/fedorabakumets/telegram-bot-builder#readme",
"keywords": [
"telegram",
"bot",
"builder",
"no-code",
"visual-editor",
"drag-and-drop",
"typescript",
"react",
"nodejs"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "npm run migrate && npm run clean:vite && cross-env NODE_ENV=development tsx --tsconfig tsconfig.node.json server/index.ts",
"clean:vite": "node -e \"const fs=require('fs');const path=require('path');const viteDir=path.join(process.cwd(),'node_modules','.vite');if(fs.existsSync(viteDir)){fs.rmSync(viteDir,{recursive:true,force:true});console.log('✅ Vite cache cleared');}else{console.log('ℹ️ Vite cache not found');}\"",
"migrate": "tsx --tsconfig tsconfig.node.json scripts/run-migrations.ts",
"fetch-avatars": "tsx --tsconfig tsconfig.node.json scripts/fetch-user-avatars.ts",
"fetch-bot-avatar": "tsx --tsconfig tsconfig.node.json scripts/fetch-bot-avatar.ts",
"update-avatar-urls": "tsx --tsconfig tsconfig.node.json scripts/update-avatar-urls.ts",
"delete-bots-from-users": "tsx --tsconfig tsconfig.node.json scripts/delete-bots-from-users.ts",
"backfill:token-segmentation": "tsx --tsconfig tsconfig.node.json scripts/backfill-token-segmentation.ts",
"start": "npm run migrate && cross-env NODE_ENV=production tsx --tsconfig tsconfig.node.json server/index.ts",
"build": "npm run build:client",
"build:client": "vite build --mode production --config vite.config.ts",
"build:fast": "vite build --mode production --minify false",
"build:server": "tsc --project tsconfig.server.json --outDir dist/server --noEmitOnError false",
"postbuild:server": "node scripts/copy-server-templates.js",
"check": "tsc --noEmit",
"db:push": "drizzle-kit push",
"db:test": "tsx --tsconfig tsconfig.node.json server/test-db-connection.ts",
"railway:setup": "npm run migrate",
"railway:build": "npm run build:fast",
"test": "node run-tests.js",
"test:all": "node run-tests.js",
"test:coverage": "c8 --reporter=html --reporter=text --reporter=json node run-tests.js --templates",
"test:templates": "node run-tests.js --templates",
"test:unit": "node run-tests.js --unit",
"test:integration": "node run-tests.js --integration",
"test:sidebar": "vitest run client/components/editor/sidebar/tests",
"test:sidebar:coverage": "vitest run --coverage client/components/editor/sidebar/tests",
"test:sidebar:watch": "vitest client/components/editor/sidebar/tests",
"test:voice": "node run-tests.js --pattern voice",
"test:sticker": "node run-tests.js --pattern sticker",
"test:command": "node run-tests.js --pattern command",
"test:start": "node run-tests.js --pattern start",
"test:broadcast": "node run-tests.js --pattern broadcast",
"test:config": "node run-tests.js --pattern config",
"test:database": "node run-tests.js --pattern database",
"test:header": "node run-tests.js --pattern header",
"test:imports": "node run-tests.js --pattern imports",
"test:keyboard": "node run-tests.js --pattern keyboard",
"test:user-variables-func": "node run-tests.js --pattern user-variables-func",
"test:main": "node run-tests.js --pattern main",
"test:message": "node run-tests.js --pattern message",
"test:middleware": "node run-tests.js --pattern middleware",
"test:utils": "node run-tests.js --pattern utils",
"test:universal-handlers": "node run-tests.js --pattern universal-handlers",
"test:synonyms": "node run-tests.js --pattern synonyms",
"test:handle-user-input": "node run-tests.js --pattern handle-user-input",
"test:safe-edit-or-send": "node run-tests.js --pattern safe-edit-or-send",
"test:attached-media": "node run-tests.js --pattern attached-media",
"test:user-handler": "node run-tests.js --pattern user-handler",
"test:admin-rights": "node run-tests.js --pattern admin-rights",
"test:broadcast-bot": "node run-tests.js --pattern broadcast-bot",
"test:broadcast-client": "node run-tests.js --pattern broadcast-client",
"test:handlers": "node run-tests.js --pattern handlers",
"test:handlers:button-response": "node run-tests.js --pattern button-response",
"test:handlers:command-callback": "node run-tests.js --pattern command-callback-handler",
"test:handlers:multi-select-callback": "node run-tests.js --pattern multi-select-callback",
"test:handlers:multi-select-done": "node run-tests.js --pattern multi-select-done",
"test:handlers:multi-select-reply": "node run-tests.js --pattern multi-select-reply",
"test:handlers:multi-select-button": "node run-tests.js --pattern multi-select-button-handler",
"test:handlers:multi-select-transition": "node run-tests.js --pattern multi-select-transition",
"test:handlers:reply-button": "node run-tests.js --pattern reply-button-handlers",
"test:handlers:reply-hide": "node run-tests.js --pattern reply-hide-after-click",
"test:animation-handler": "node run-tests.js --pattern animation-handler",
"test:auto-transition": "node run-tests.js --pattern auto-transition",
"test:attached-media-vars": "node run-tests.js --pattern attached-media-vars",
"test:callback-handler-init": "node run-tests.js --pattern callback-handler-init",
"test:command-navigation": "node run-tests.js --pattern command-navigation",
"test:conditional-branch": "node run-tests.js --pattern conditional-branch",
"test:conditional-input-handler": "node run-tests.js --pattern conditional-input-handler",
"test:conditional-messages": "node run-tests.js --pattern conditional-messages",
"test:csv-safe": "node run-tests.js --pattern csv-safe",
"test:error-handler": "node run-tests.js --pattern error-handler",
"test:fake-callback": "node run-tests.js --pattern fake-callback",
"test:media-path-resolve": "node run-tests.js --pattern media-path-resolve",
"test:media-save-vars": "node run-tests.js --pattern media-save-vars",
"test:media-send": "node run-tests.js --pattern media-send",
"test:multiselect-check": "node run-tests.js --pattern multiselect-check",
"test:navigation": "node run-tests.js --pattern navigation",
"test:parse-mode": "node run-tests.js --pattern parse-mode",
"test:skip-data-collection": "node run-tests.js --pattern skip-data-collection",
"test:phases": "node run-tests.js --pattern test-phase",
"test:phase1": "node run-tests.js --pattern test-phase1-text-formatting",
"test:phase2": "node run-tests.js --pattern test-phase2-commands",
"test:phase3": "node run-tests.js --pattern test-phase3-keyboards",
"test:phase4": "node run-tests.js --pattern test-phase4-buttons",
"test:phase5": "node run-tests.js --pattern test-phase5-user-input",
"test:phase6": "node run-tests.js --pattern test-phase6-media",
"test:phase7": "node run-tests.js --pattern test-phase7-access",
"test:phase8": "node run-tests.js --pattern test-phase8-auto-transition",
"test:phase9": "node run-tests.js --pattern test-phase9-multiselect",
"test:phase10": "node run-tests.js --pattern test-phase10-broadcast",
"test:phase11": "node run-tests.js --pattern test-phase11-user-message-actions",
"test:phase13": "node run-tests.js --pattern test-phase13-database"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@jridgewell/trace-mapping": "^0.3.31",
"@monaco-editor/react": "^4.7.0",
"@octokit/rest": "^22.0.1",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-aspect-ratio": "^1.1.8",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-context-menu": "^2.2.16",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-hover-card": "^1.1.15",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-menubar": "^1.1.16",
"@radix-ui/react-navigation-menu": "^1.2.14",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-progress": "^1.1.8",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slider": "^1.3.6",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-toast": "^1.2.15",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@tanstack/react-query": "^5.90.20",
"@types/multer": "^2.0.0",
"@types/pg": "^8.16.0",
"@types/react-syntax-highlighter": "^15.5.13",
"ansi-to-react": "^6.2.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"connect-pg-simple": "^10.0.0",
"connect-redis": "^8.0.1",
"cross-env": "^10.1.0",
"date-fns": "^3.6.0",
"dotenv": "^17.2.3",
"dotenv-cli": "^11.0.0",
"drizzle-orm": "^0.45.1",
"drizzle-zod": "^0.7.0",
"embla-carousel-react": "^8.6.0",
"express": "^4.22.1",
"express-session": "^1.19.0",
"form-data": "^4.0.5",
"framer-motion": "^11.18.2",
"global-agent": "^4.1.3",
"googleapis": "^171.4.0",
"http-proxy-agent": "^8.0.0",
"https-proxy-agent": "^8.0.0",
"input-otp": "^1.4.2",
"ioredis": "^5.10.1",
"lucide-react": "^0.563.0",
"memorystore": "^1.6.7",
"multer": "^2.0.1",
"nanoid": "^5.1.6",
"next-themes": "^0.4.6",
"node-fetch": "^3.3.2",
"nunjucks": "^3.2.4",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"pg": "^8.17.2",
"qrcode": "^1.5.4",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.3.1",
"react-dropzone": "^14.3.8",
"react-hook-form": "^7.71.1",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^2.1.9",
"react-syntax-highlighter": "^16.1.0",
"recharts": "^2.15.4",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"socks-proxy-agent": "^9.0.0",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"telegram": "^2.26.22",
"tsx": "^4.21.0",
"tw-animate-css": "^1.4.0",
"undici": "^7.24.4",
"vaul": "^1.1.2",
"wouter": "^3.9.0",
"ws": "^8.19.0",
"zod": "^3.25.76",
"zod-validation-error": "^3.5.4"
},
"devDependencies": {
"@replit/vite-plugin-cartographer": "^0.4.4",
"@replit/vite-plugin-runtime-error-modal": "^0.0.4",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.18",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/connect-pg-simple": "^7.0.3",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.2",
"@types/node": "^25.0.10",
"@types/nunjucks": "^3.2.6",
"@types/passport": "^1.0.16",
"@types/passport-local": "^1.0.38",
"@types/qrcode": "^1.5.6",
"@types/react": "^18.3.27",
"@types/react-dnd-html5-backend": "^3.0.2",
"@types/react-dom": "^18.3.7",
"@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^4.6.0",
"@vitest/coverage-v8": "^2.1.9",
"@vitest/ui": "^2.1.9",
"autoprefixer": "^10.4.23",
"c8": "^11.0.0",
"drizzle-kit": "^0.31.8",
"esbuild": "^0.27.2",
"jsdom": "^28.1.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.19",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3",
"vite": "^6.2.0",
"vite-tsconfig-paths": "^6.1.0",
"vitest": "^2.1.9"
},
"optionalDependencies": {
"bufferutil": "^4.1.0"
},
"overrides": {
"@esbuild-kit/esm-loader": "npm:tsx@^4.21.0",
"@esbuild-kit/core-utils": "npm:tsx@^4.21.0",
"yaeti": "npm:ws@^8.19.0",
"node-domexception": false
},
"browser": {
"crypto": false
}
}