-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
185 lines (185 loc) · 6.69 KB
/
package.json
File metadata and controls
185 lines (185 loc) · 6.69 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
{
"name": "better-chatbot",
"version": "1.25.0",
"private": true,
"author": "cgoinglove",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "NODE_OPTIONS='--max-old-space-size=4096' NEXT_DISABLE_SOURCE_MAPS=1 next dev",
"dev:inspect": "NODE_OPTIONS='--inspect' NEXT_DISABLE_SOURCE_MAPS=1 next dev",
"dev:turbopack": "NODE_OPTIONS='--max-old-space-size=4096' NEXT_DISABLE_SOURCE_MAPS=1 next dev --turbopack",
"dev:https": "next dev --experimental-https",
"build": "next build",
"start": "NODE_OPTIONS='--inspect' next start",
"build:local": "cross-env NO_HTTPS='1' next build",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:seed": "dotenv -- tsx scripts/seed-test-users.ts",
"test:e2e:clean": "dotenv -- tsx scripts/cleanup-all-test-data.ts",
"lint": "next lint && biome lint",
"lint:fix": "next lint --fix && biome lint --write --unsafe",
"format": "biome format --write",
"check-types": "tsc --noEmit",
"initial:env": "tsx scripts/initial-env.ts",
"openai-compatiable:init": "tsx scripts/init-openai-compatiable.ts",
"openai-compatiable:parse": "tsx scripts/parse-openai-compatiable.ts",
"postinstall": "tsx scripts/postinstall.ts",
"clean": "tsx scripts/clean.ts",
"clean:next": "tsx scripts/clean.ts .next",
"db:generate": "drizzle-kit generate",
"db:reset": "drizzle-kit drop && drizzle-kit push",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:migrate": "tsx scripts/db-migrate.ts",
"db:pull": "drizzle-kit pull",
"db:check": "drizzle-kit check",
"docker-compose:up": "docker-compose -f docker/compose.yml up -d --build",
"docker-compose:down": "docker-compose -f docker/compose.yml down",
"docker-compose:logs": "docker-compose -f docker/compose.yml logs -f",
"docker-compose:ps": "docker-compose -f docker/compose.yml ps",
"docker-compose:update": "git pull && docker-compose -f docker/compose.yml up -d --build",
"docker:pg": "docker run --name better-chatbot-pg -e POSTGRES_PASSWORD=your_password -e POSTGRES_USER=your_username -e POSTGRES_DB=your_database_name -p 5432:5432 -d postgres",
"docker:redis": "docker run --name better-chatbot-redis -p 6379:6379 -d redis:7-alpine",
"docker:app": "docker build -f docker/Dockerfile -t better-chatbot . && docker run -p 3000:3000 -e NO_HTTPS=1 better-chatbot",
"prepare": "husky",
"playwright:install": "playwright install",
"check": "pnpm lint:fix && pnpm check-types && pnpm test",
"heap-profile:build": "node --heap-prof node_modules/next/dist/bin/next build",
"heap-profile:dev": "node --heap-prof node_modules/next/dist/bin/next dev --turbopack",
"monitor:memory": "node scripts/monitor-memory-node.js",
"monitor:memory:watch": "THRESHOLD_MB=6144 CHECK_INTERVAL=30 node scripts/monitor-memory-node.js"
},
"dependencies": {
"@ai-sdk/anthropic": "^2.0.39",
"@ai-sdk/google": "^2.0.25",
"@ai-sdk/groq": "^2.0.26",
"@ai-sdk/openai": "^2.0.58",
"@ai-sdk/openai-compatible": "^1.0.24",
"@ai-sdk/react": "^2.0.82",
"@ai-sdk/xai": "^2.0.29",
"@aws-sdk/client-s3": "^3.920.0",
"@aws-sdk/s3-request-presigner": "^3.920.0",
"@google/genai": "^1.28.0",
"@mcp-ui/client": "^5.17.1",
"@mcp-ui/server": "^5.16.2",
"@modelcontextprotocol/sdk": "^1.20.2",
"@openrouter/ai-sdk-provider": "^1.2.0",
"@paper-design/shaders-react": "^0.0.65",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-avatar": "^1.1.10",
"@radix-ui/react-checkbox": "^1.3.3",
"@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.7",
"@radix-ui/react-popover": "^1.1.15",
"@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.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-tooltip": "^1.2.8",
"@tiptap/extension-mention": "^2.27.1",
"@tiptap/react": "^2.27.1",
"@tiptap/starter-kit": "^2.27.1",
"@tiptap/suggestion": "^2.27.1",
"@vercel/blob": "^2.0.0",
"@xyflow/react": "^12.9.1",
"ai": "^5.0.82",
"bcrypt-ts": "^7.1.0",
"better-auth": "^1.3.34",
"chokidar": "^4.0.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"consola": "^3.4.2",
"date-fns": "^4.1.0",
"deepmerge": "^4.3.1",
"dotenv": "^16.6.1",
"drizzle-orm": "^0.41.0",
"emoji-picker-react": "^4.15.0",
"framer-motion": "^12.23.24",
"hast-util-to-jsx-runtime": "^2.3.6",
"ioredis": "^5.8.2",
"json-schema": "^0.4.0",
"katex": "^0.16.25",
"lucide-react": "^0.486.0",
"mermaid": "^11.12.1",
"nanoid": "^5.1.6",
"next": "15.3.8",
"next-intl": "^4.4.0",
"next-themes": "^0.4.6",
"ogl": "^1.0.11",
"ollama-ai-provider-v2": "^1.5.2",
"pg": "^8.16.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^2.1.9",
"recharts": "^2.15.4",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"server-only": "^0.0.1",
"shiki": "^3.14.0",
"sonner": "^2.0.7",
"swr": "^2.3.6",
"tailwind-merge": "^3.3.1",
"ts-edge": "^1.0.4",
"ts-safe": "^0.0.5",
"tw-animate-css": "^1.4.0",
"vaul": "^1.1.2",
"zod": "^4.1.12",
"zustand": "^5.0.8"
},
"devDependencies": {
"@better-auth-kit/seed": "^1.0.12",
"@biomejs/biome": "1.9.4",
"@playwright/test": "^1.56.1",
"@tailwindcss/postcss": "^4.1.16",
"@types/json-schema": "^7.0.15",
"@types/node": "^20.19.24",
"@types/pg": "^8.15.6",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"cross-env": "^7.0.3",
"dotenv-cli": "^10.0.0",
"drizzle-kit": "^0.30.6",
"eslint": "^9.38.0",
"eslint-config-next": "15.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"rimraf": "^6.0.1",
"tailwindcss": "^4.1.16",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4"
},
"lint-staged": {
"*.{js,json,mjs,ts,yaml,tsx,css}": [
"pnpm format",
"pnpm lint:fix"
]
},
"packageManager": "pnpm@10.2.1",
"engines": {
"node": ">=18"
},
"pnpm": {
"onlyBuiltDependencies": [
"@biomejs/biome",
"@tailwindcss/oxide",
"esbuild",
"sharp",
"unrs-resolver"
]
}
}