mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
This commit introduces new localization paths, adds new localization files, adds new settings and descriptions, generates a table of contents, modifies file imports and exports, and defines types for localization resources. Changes: - Updated localization paths - Added new localization files - Added new settings and descriptions - Generated a table of contents - Modified file imports and exports - Defined types for localization resources
139 lines
3.6 KiB
JSON
139 lines
3.6 KiB
JSON
{
|
|
"name": "@lobehub/chat",
|
|
"version": "1.1.0",
|
|
"description": "Lobe Chat is an open-source chatbot client using LangChain, Typescript and Next.js",
|
|
"keywords": [
|
|
"chatbot",
|
|
"ChatGPT",
|
|
"LangChain",
|
|
"typescript",
|
|
"Next.js"
|
|
],
|
|
"homepage": "https://github.com/lobehub/lobe-chat",
|
|
"bugs": {
|
|
"url": "https://github.com/lobehub/lobe-chat/issues/new"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lobehub/lobe-chat.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": "LobeHub <i@lobehub.com>",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "next build",
|
|
"dev": "next dev -p 3010",
|
|
"i18n": "lobe-i18n",
|
|
"lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
"lint:md": "remark . --quiet --frail --output",
|
|
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
"prepare": "husky install",
|
|
"prettier": "prettier -c --write \"**/**\"",
|
|
"release": "semantic-release",
|
|
"start": "next start",
|
|
"stylelint": "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
|
|
"test": "vitest --passWithNoTests",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"test:update": "vitest -u",
|
|
"toc": "node scripts/toc.mjs",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"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/colors": "^7",
|
|
"@ant-design/icons": "^5",
|
|
"@commitlint/cli": "^17",
|
|
"@lobehub/ui": "^1",
|
|
"@vercel/analytics": "^1",
|
|
"ahooks": "^3",
|
|
"ai": "^2",
|
|
"antd": "^5",
|
|
"antd-style": "^3",
|
|
"brotli-wasm": "^1",
|
|
"chroma-js": "^2",
|
|
"fast-deep-equal": "^3",
|
|
"gpt-tokenizer": "^2",
|
|
"i18next": "^23",
|
|
"immer": "^10",
|
|
"langchain": "latest",
|
|
"lodash-es": "^4",
|
|
"lucide-react": "latest",
|
|
"nanoid": "^4",
|
|
"next": "13.4.7",
|
|
"openai-edge": "^1",
|
|
"polished": "^4",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"react-hotkeys-hook": "^4",
|
|
"react-i18next": "^13",
|
|
"react-layout-kit": "^1",
|
|
"swr": "^2",
|
|
"ts-md5": "^1",
|
|
"zustand": "^4",
|
|
"zustand-utils": "^1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17",
|
|
"@lobehub/i18n-cli": "latest",
|
|
"@lobehub/lint": "latest",
|
|
"@next/eslint-plugin-next": "^13",
|
|
"@testing-library/jest-dom": "^5",
|
|
"@testing-library/react": "^14",
|
|
"@types/chroma-js": "^2",
|
|
"@types/lodash-es": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"@types/testing-library__jest-dom": "^5",
|
|
"@types/uuid": "^9",
|
|
"@umijs/lint": "^4",
|
|
"@vitest/coverage-v8": "latest",
|
|
"commitlint": "^17",
|
|
"eslint": "^8",
|
|
"husky": "^8",
|
|
"i18next-browser-languagedetector": "^7",
|
|
"i18next-resources-for-ts": "^1",
|
|
"jsdom": "^22",
|
|
"lint-staged": "^13",
|
|
"next-pwa": "^5",
|
|
"node-fetch": "^3",
|
|
"postcss-styled-syntax": "^0.4",
|
|
"prettier": "^2",
|
|
"remark": "^14",
|
|
"remark-cli": "^11",
|
|
"semantic-release": "^21",
|
|
"semantic-release-config-gitmoji": "^1",
|
|
"stylelint": "^15",
|
|
"typescript": "^5",
|
|
"vitest": "latest"
|
|
},
|
|
"peerDependencies": {
|
|
"antd": ">=5",
|
|
"antd-style": ">=3",
|
|
"react": ">=18",
|
|
"react-dom": ">=18"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org"
|
|
}
|
|
}
|