Files
lobehub/package.json
2023-07-15 23:48:27 +08:00

138 lines
3.7 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": "i18next-resources-for-ts toc -i ./public/locales/zh_CN -o ./src/types/resources.ts",
"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": "latest",
"@vercel/analytics": "^1",
"ahooks": "^3",
"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",
"next-i18next": "^14",
"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.3.6",
"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-resources-for-ts": "^1",
"jsdom": "^22",
"lint-staged": "^13",
"next-pwa": "^5",
"node-fetch": "^3",
"picocolors": "^1",
"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"
}
}