209 lines
6.1 KiB
JSON
209 lines
6.1 KiB
JSON
|
|
{
|
||
|
|
"name": "@Chatchat/chat",
|
||
|
|
"version": "3.0.0",
|
||
|
|
"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/chatchat-space/Langchain-Chatchat",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/chatchat-space/Langchain-Chatchat/issues/new/choose"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "https://github.com/chatchat-space/Langchain-Chatchat.git"
|
||
|
|
},
|
||
|
|
"license": "MIT",
|
||
|
|
"author": "Chatchat <i@chatchat.com>",
|
||
|
|
"sideEffects": false,
|
||
|
|
"scripts": {
|
||
|
|
"build": "next build",
|
||
|
|
"postbuild": "next-sitemap --config next-sitemap.config.mjs",
|
||
|
|
"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",
|
||
|
|
"prettier": "prettier -c --write \"**/**\"",
|
||
|
|
"pull": "git pull",
|
||
|
|
"release": "semantic-release",
|
||
|
|
"start": "next start",
|
||
|
|
"stylelint": "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
|
||
|
|
"test": "vitest",
|
||
|
|
"test:coverage": "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",
|
||
|
|
"@anthropic-ai/sdk": "^0.17.0",
|
||
|
|
"@auth/core": "latest",
|
||
|
|
"@aws-sdk/client-bedrock-runtime": "^3.503.1",
|
||
|
|
"@azure/openai": "^1.0.0-beta.11",
|
||
|
|
"@cfworker/json-schema": "^1",
|
||
|
|
"@google/generative-ai": "^0.2.0",
|
||
|
|
"@icons-pack/react-simple-icons": "^9",
|
||
|
|
"@lobehub/chat-plugin-sdk": "latest",
|
||
|
|
"@lobehub/chat-plugins-gateway": "latest",
|
||
|
|
"@lobehub/icons": "^1.13.0",
|
||
|
|
"@lobehub/tts": "latest",
|
||
|
|
"@lobehub/ui": "^1.129.2",
|
||
|
|
"@vercel/analytics": "^1",
|
||
|
|
"ahooks": "^3",
|
||
|
|
"ai": "^3.0.0",
|
||
|
|
"antd": "^5",
|
||
|
|
"antd-style": "^3",
|
||
|
|
"brotli-wasm": "^2",
|
||
|
|
"chroma-js": "^2",
|
||
|
|
"dayjs": "^1",
|
||
|
|
"dexie": "^3",
|
||
|
|
"diff": "^5.2.0",
|
||
|
|
"fast-deep-equal": "^3",
|
||
|
|
"gpt-tokenizer": "^2",
|
||
|
|
"i18next": "^23",
|
||
|
|
"i18next-browser-languagedetector": "^7",
|
||
|
|
"i18next-resources-to-backend": "^1",
|
||
|
|
"idb-keyval": "^6",
|
||
|
|
"immer": "^10",
|
||
|
|
"jose": "^5.2.0",
|
||
|
|
"langfuse": "^3.2.0",
|
||
|
|
"langfuse-core": "^3.2.0",
|
||
|
|
"lodash-es": "^4",
|
||
|
|
"lucide-react": "latest",
|
||
|
|
"modern-screenshot": "^4",
|
||
|
|
"nanoid": "^5",
|
||
|
|
"next": "^14.1",
|
||
|
|
"next-auth": "beta",
|
||
|
|
"next-sitemap": "^4.2.3",
|
||
|
|
"numeral": "^2.0.6",
|
||
|
|
"nuqs": "^1.15.4",
|
||
|
|
"openai": "^4.22",
|
||
|
|
"polished": "^4",
|
||
|
|
"posthog-js": "^1",
|
||
|
|
"query-string": "^9.0.0",
|
||
|
|
"react": "^18",
|
||
|
|
"react-dom": "^18",
|
||
|
|
"react-hotkeys-hook": "^4",
|
||
|
|
"react-i18next": "^14",
|
||
|
|
"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",
|
||
|
|
"semver": "^7",
|
||
|
|
"sharp": "^0.33.2",
|
||
|
|
"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.3.2"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@commitlint/cli": "^19.0.0",
|
||
|
|
"@ducanh2912/next-pwa": "^10",
|
||
|
|
"@edge-runtime/vm": "^3.2.0",
|
||
|
|
"@lobehub/i18n-cli": "latest",
|
||
|
|
"@lobehub/lint": "latest",
|
||
|
|
"@next/bundle-analyzer": "^14",
|
||
|
|
"@next/eslint-plugin-next": "^14",
|
||
|
|
"@peculiar/webcrypto": "^1.4.5",
|
||
|
|
"@testing-library/jest-dom": "^6",
|
||
|
|
"@testing-library/react": "^14",
|
||
|
|
"@types/chroma-js": "^2",
|
||
|
|
"@types/diff": "^5.0.9",
|
||
|
|
"@types/json-schema": "^7",
|
||
|
|
"@types/lodash": "^4",
|
||
|
|
"@types/lodash-es": "^4",
|
||
|
|
"@types/node": "^20",
|
||
|
|
"@types/numeral": "^2.0.5",
|
||
|
|
"@types/react": "^18",
|
||
|
|
"@types/react-dom": "^18",
|
||
|
|
"@types/rtl-detect": "^1",
|
||
|
|
"@types/semver": "^7",
|
||
|
|
"@types/systemjs": "^6",
|
||
|
|
"@types/ua-parser-js": "^0.7",
|
||
|
|
"@types/uuid": "^9",
|
||
|
|
"@umijs/lint": "^4",
|
||
|
|
"@vitest/coverage-v8": "~1.2.2",
|
||
|
|
"ajv-keywords": "^5.1.0",
|
||
|
|
"commitlint": "^19.0.0",
|
||
|
|
"consola": "^3",
|
||
|
|
"dpdm": "^3",
|
||
|
|
"eslint": "^8",
|
||
|
|
"fake-indexeddb": "^5",
|
||
|
|
"glob": "^10",
|
||
|
|
"husky": "^9",
|
||
|
|
"jsdom": "^24.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",
|
||
|
|
"vite": "5.1.4",
|
||
|
|
"vitest": "~1.2.2",
|
||
|
|
"vitest-canvas-mock": "^0.3"
|
||
|
|
},
|
||
|
|
"publishConfig": {
|
||
|
|
"access": "public",
|
||
|
|
"registry": "https://registry.npmjs.org"
|
||
|
|
}
|
||
|
|
}
|