@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
263 lines (262 loc) • 7.52 kB
JSON
{
"name": "@lobehub/ui",
"version": "4.34.1",
"description": "Lobe UI is an open-source UI component library for building AIGC web apps",
"keywords": [
"lobehub",
"components",
"chatbot components",
"react components",
"react ui"
],
"homepage": "https://github.com/lobehub/lobe-ui",
"bugs": {
"url": "https://github.com/lobehub/lobe-ui/issues/new"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lobehub/lobe-ui.git"
},
"license": "MIT",
"author": "LobeHub <i@lobehub.com>",
"sideEffects": [
"**/*.css"
],
"exports": {
".": {
"types": "./es/index.d.mts",
"import": "./es/index.mjs",
"default": "./es/index.mjs"
},
"./i18n": {
"types": "./es/i18n/index.d.mts",
"import": "./es/i18n/index.mjs",
"default": "./es/i18n/index.mjs"
},
"./i18n/resources/*": {
"types": "./es/i18n/resources/*.d.mts",
"import": "./es/i18n/resources/*.mjs",
"default": "./es/i18n/resources/*.mjs"
},
"./i18n/*": {
"types": "./es/i18n/*.d.mts",
"import": "./es/i18n/*.mjs",
"default": "./es/i18n/*.mjs"
},
"./es/*": {
"types": "./es/*.d.mts",
"import": "./es/*.mjs",
"default": "./es/*.mjs"
},
"./*": {
"types": "./*.d.ts",
"import": "./*.js",
"default": "./*.js"
}
},
"main": "es/index.mjs",
"module": "es/index.mjs",
"types": "es/index.d.mts",
"files": [
"es",
"awesome.d.ts",
"awesome.js",
"brand.d.ts",
"brand.js",
"chat.d.ts",
"chat.js",
"mdx.d.ts",
"mdx.js",
"mobile.d.ts",
"mobile.js",
"storybook.d.ts",
"storybook.js",
"color.d.ts",
"color.js",
"icons.d.ts",
"icons.js"
],
"scripts": {
"build": "tsdown && npm run build:packages",
"build:packages": "tsx ./scripts/build.ts",
"build:watch": "tsdown --watch",
"ci": "npm run lint:circular && npm run lint && npm run type-check",
"clean": "rm -r es lib dist coverage .dumi/tmp .eslintcache node_modules/.cache",
"dev": "dumi dev",
"docs:build": "dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"docs:dev": "dumi dev",
"gen:icons": "tsx ./scripts/icons/index.ts",
"lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:circular": "dpdm src/**/*.{ts,tsx} --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",
"prepack": "clean-package",
"postpack": "clean-package restore",
"prepare": "husky && npm run setup",
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
"pull": "git pull",
"release": "semantic-release",
"setup": "dumi setup",
"start": "npm run docs:dev",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"test:update": "vitest -u",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"*.md": [
"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/cssinjs": "^2.0.3",
"@base-ui/react": "1.0.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
"@emotion/is-prop-valid": "^1.4.0",
"@floating-ui/react": "^0.27.17",
"@giscus/react": "^3.1.0",
"@mdx-js/mdx": "^3.1.1",
"@mdx-js/react": "^3.1.1",
"@pierre/diffs": "^1.0.10",
"@radix-ui/react-slot": "^1.2.4",
"@shikijs/core": "^3.22.0",
"@shikijs/transformers": "^3.22.0",
"@splinetool/runtime": "0.9.526",
"ahooks": "^3.9.6",
"antd-style": "^4.1.0",
"chroma-js": "^3.2.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.19",
"emoji-mart": "^5.6.0",
"es-toolkit": "^1.44.0",
"fast-deep-equal": "^3.1.3",
"immer": "^11.1.3",
"katex": "^0.16.28",
"leva": "^0.10.1",
"lucide-react": "^0.563.0",
"marked": "^17.0.1",
"mermaid": "^11.12.2",
"motion": "^12.30.0",
"numeral": "^2.0.6",
"polished": "^4.3.1",
"query-string": "^9.3.1",
"rc-collapse": "^4.0.0",
"rc-footer": "^0.6.8",
"rc-image": "^7.12.0",
"rc-input-number": "^9.5.0",
"rc-menu": "^9.16.1",
"re-resizable": "^6.11.2",
"react-avatar-editor": "^14.0.0",
"react-error-boundary": "^6.1.0",
"react-hotkeys-hook": "^5.2.4",
"react-markdown": "^10.1.0",
"react-merge-refs": "^3.0.2",
"react-rnd": "^10.5.2",
"react-zoom-pan-pinch": "^3.7.0",
"rehype-github-alerts": "^4.2.0",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
"remark-breaks": "^4.0.0",
"remark-cjk-friendly": "^1.2.3",
"remark-gfm": "^4.0.1",
"remark-github": "^12.0.0",
"remark-math": "^6.0.0",
"shiki": "^3.22.0",
"shiki-stream": "^0.1.4",
"swr": "^2.4.0",
"ts-md5": "^2.0.1",
"unified": "^11.0.5",
"url-join": "^5.0.0",
"use-merge-value": "^1.2.0",
"uuid": "^13.0.0",
"virtua": "^0.48.5"
},
"devDependencies": {
"@ant-design/icons": "^6.1.0",
"@commitlint/cli": "^19.8.1",
"@lobehub/eslint-config": "2.0.0",
"@lobehub/fluent-emoji": "^4.1.0",
"@lobehub/icons": "^4.2.0",
"@lobehub/lint": "^2.0.0",
"@testing-library/react": "^16.3.2",
"@types/chroma-js": "^3.1.2",
"@types/hast": "^3.0.4",
"@types/katex": "^0.16.8",
"@types/mdx": "^2.0.13",
"@types/numeral": "^2.0.5",
"@types/pangu": "^4.0.2",
"@types/react": "^19.2.10",
"@types/react-avatar-editor": "^13.0.4",
"@types/react-dom": "^19.2.3",
"@types/unist": "^3.0.3",
"@types/uuid": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitest/coverage-v8": "^3.2.4",
"antd": "^6.2.3",
"babel-plugin-antd-style": "^1.0.4",
"cheerio": "^1.2.0",
"clean-package": "^2.2.0",
"commitlint": "^19.8.1",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"dpdm": "^3.14.0",
"dumi": "^2.4.23",
"dumi-theme-lobehub": "^4.0.2",
"eslint": "^9.39.2",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"figma-js": "1.16.1-0",
"husky": "^9.1.7",
"jsdom": "^26.1.0",
"lint-staged": "^16.2.7",
"mdast-util-to-markdown": "^2.1.2",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"semantic-release": "^21.1.2",
"stylelint": "^16.26.1",
"svgo": "^4.0.0",
"tsdown": "^0.18.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"unist-util-is": "^6.0.1",
"unist-util-visit": "^5.1.0",
"vitest": "^3.2.4"
},
"peerDependencies": {
"@lobehub/fluent-emoji": "^4.0.0",
"@lobehub/icons": "^4.0.0",
"antd": "^6.1.1",
"motion": "^12.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"publishConfig": {
"access": "public",
"provenance": true,
"registry": "https://registry.npmjs.org"
}
}