forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
193 lines (193 loc) · 5.76 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
192
193
{
"name": "@lobehub/chat",
"version": "0.120.2",
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
"keywords": [
"framework",
"chatbot",
"chatgpt",
"nextjs",
"vercel-ai",
"openai",
"azure-openai",
"visual-model",
"tts",
"stt"
],
"homepage": "https://github.com/lobehub/lobe-chat",
"bugs": {
"url": "https://github.com/lobehub/lobe-chat/issues/new/choose"
},
"repository": {
"type": "git",
"url": "https://github.com/lobehub/lobe-chat.git"
},
"license": "MIT",
"author": "LobeHub <[email protected]>",
"sideEffects": false,
"scripts": {
"build": "next build",
"build:analyze": "ANALYZE=true next build",
"build:docker": "DOCKER=true next build",
"dev": "next dev -p 3010",
"docs": "lobe-i18n md && npm run workflow:docs",
"i18n": "npm run workflow:i18n && lobe-i18n",
"i18n:docs": "lobe-i18n md && npm run workflow:docs",
"lint": "npm run lint:ts && npm run lint:style && npm run type-check && npm run lint:circular",
"lint:circular": "dpdm src/**/*.ts --warning false --tree false --exit-code circular:1 -T true",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:ts": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky install",
"prettier": "prettier -c --write \"**/**\"",
"pull": "git pull",
"release": "semantic-release",
"start": "next start",
"stylelint": "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"test": "npm run test-temp-fixture-ci && vitest",
"test-a-local": "vitest",
"test-temp-fixture-ci": "echo 'please remove this script after new [email protected] released' && rm -rf node_modules && npx [email protected] install",
"test:coverage": "npm run test-temp-fixture-ci && vitest run --coverage",
"test:coverage-local": "vitest run --coverage",
"test:update": "vitest -u",
"type-check": "tsc --noEmit",
"workflow:docs": "tsx scripts/docsWorkflow/index.ts",
"workflow:i18n": "tsx scripts/i18nWorkflow/index.ts",
"workflow:readme": "tsx scripts/readmeWorkflow/index.ts"
},
"lint-staged": {
"*.md": [
"remark --quiet --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"prettier --write",
"stylelint --fix",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"stylelint --fix",
"eslint --fix"
]
},
"dependencies": {
"@ant-design/icons": "^5",
"@cfworker/json-schema": "^1",
"@icons-pack/react-simple-icons": "^9",
"@lobehub/chat-plugin-sdk": "latest",
"@lobehub/chat-plugins-gateway": "latest",
"@lobehub/tts": "latest",
"@lobehub/ui": "latest",
"@vercel/analytics": "^1",
"ahooks": "^3",
"ai": "^2.2.22",
"antd": "^5.12.7",
"antd-style": "^3",
"brotli-wasm": "^2.0.0",
"chroma-js": "^2",
"copy-to-clipboard": "^3",
"dayjs": "^1",
"dexie": "^3",
"fast-deep-equal": "^3",
"gpt-tokenizer": "^2",
"i18next": "^23",
"i18next-browser-languagedetector": "^7",
"i18next-resources-for-ts": "^1",
"i18next-resources-to-backend": "^1",
"idb-keyval": "^6",
"immer": "^10",
"lodash-es": "^4",
"lucide-react": "latest",
"modern-screenshot": "^4",
"nanoid": "^5",
"next": "^14.0.2",
"openai": "^4.17.3",
"polished": "^4",
"posthog-js": "^1",
"query-string": "^8",
"react": "^18",
"react-dom": "^18",
"react-hotkeys-hook": "^4.4.3",
"react-i18next": "^14.0.0",
"react-intersection-observer": "^9",
"react-layout-kit": "^1",
"react-lazy-load": "^4",
"react-virtuoso": "^4.6.2",
"react-wrap-balancer": "^1",
"remark": "^14",
"remark-gfm": "^3",
"remark-html": "^15",
"rtl-detect": "^1.1.2",
"semver": "^7",
"sharp": "0.33.1",
"swr": "^2",
"systemjs": "^6",
"ts-md5": "^1",
"ua-parser-js": "^1",
"url-join": "^5",
"use-merge-value": "^1",
"utility-types": "^3",
"uuid": "^9",
"yaml": "^2",
"zod": "^3",
"zustand": "^4.4",
"zustand-utils": "^1"
},
"devDependencies": {
"@commitlint/cli": "^18",
"@ducanh2912/next-pwa": "^10",
"@lobehub/i18n-cli": "latest",
"@lobehub/lint": "latest",
"@next/bundle-analyzer": "^14",
"@next/eslint-plugin-next": "^14",
"@testing-library/jest-dom": "^6",
"@testing-library/react": "^14",
"@types/chroma-js": "^2",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4",
"@types/lodash-es": "^4",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/rtl-detect": "^1.0.3",
"@types/semver": "^7",
"@types/systemjs": "^6",
"@types/ua-parser-js": "^0.7",
"@types/uuid": "^9",
"@umijs/lint": "^4",
"@vitest/coverage-v8": "^1.1.3",
"commitlint": "^18",
"consola": "^3",
"dpdm": "^3",
"eslint": "^8",
"fake-indexeddb": "^5",
"glob": "^10",
"husky": "^8",
"jsdom": "^23.0.0",
"just-diff": "^6",
"lint-staged": "^15",
"lodash": "^4",
"markdown-table": "^3",
"node-fetch": "^3",
"p-map": "^7",
"prettier": "^3",
"remark-cli": "^11",
"remark-parse": "^10",
"semantic-release": "^21",
"stylelint": "^15",
"tsx": "^4",
"typescript": "^5",
"unified": "^11",
"unist-util-visit": "^5",
"vitest": "^1.1.3",
"vitest-canvas-mock": "^0.3.3"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}