mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-03 20:59:22 +08:00
194 lines
6.4 KiB
JSON
194 lines
6.4 KiB
JSON
{
|
|
"name": "@cherrystudio/ui",
|
|
"version": "1.0.0-alpha.1",
|
|
"description": "Cherry Studio UI Component Library - React Components for Cherry Studio",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"react-native": "dist/index.js",
|
|
"scripts": {
|
|
"build": "pnpm theme:build && tsdown && mkdir -p dist/styles && cp -R src/styles/. dist/styles/",
|
|
"dev": "tsc -w",
|
|
"clean": "rm -rf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "eslint src --ext .ts,.tsx --fix",
|
|
"type-check": "tsc --noEmit -p tsconfig.json --composite false",
|
|
"theme:build": "tsx scripts/build-theme-css.ts",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build",
|
|
"icons:generate": "tsx scripts/generate-icons.ts --type=icons",
|
|
"providers:pipeline": "tsx scripts/pipeline.ts --dir=providers",
|
|
"providers:vectorize": "tsx scripts/vectorize-logo.ts --dir=providers",
|
|
"providers:validate": "tsx scripts/validate-svgs.ts --dir=providers",
|
|
"providers:normalize": "tsx scripts/normalize-viewbox.ts --dir=providers",
|
|
"providers:generate": "tsx scripts/generate-icons.ts --type=providers",
|
|
"providers:generate:avatars": "tsx scripts/generate-avatars.ts --type=providers",
|
|
"models:pipeline": "tsx scripts/pipeline.ts --dir=models",
|
|
"models:vectorize": "tsx scripts/vectorize-logo.ts --dir=models",
|
|
"models:validate": "tsx scripts/validate-svgs.ts --dir=models",
|
|
"models:normalize": "tsx scripts/normalize-viewbox.ts --dir=models",
|
|
"models:generate": "tsx scripts/generate-icons.ts --type=models",
|
|
"models:generate:avatars": "tsx scripts/generate-avatars.ts --type=models"
|
|
},
|
|
"keywords": [
|
|
"ui",
|
|
"components",
|
|
"react",
|
|
"tailwindcss",
|
|
"typescript",
|
|
"cherry-studio"
|
|
],
|
|
"author": "Cherry Studio",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/CherryHQ/cherry-studio.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/CherryHQ/cherry-studio/issues"
|
|
},
|
|
"homepage": "https://github.com/CherryHQ/cherry-studio#readme",
|
|
"peerDependencies": {
|
|
"@hookform/resolvers": "^5.0.0",
|
|
"motion": "^12.42.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-hook-form": "^7.55.0",
|
|
"tailwindcss": "^4.1.13"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@hookform/resolvers": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@radix-ui/primitive": "^1.1.3",
|
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-context-menu": "^2.2.6",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-hover-card": "^1.1.15",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@radix-ui/react-radio-group": "^1.3.8",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slider": "^1.3.6",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@radix-ui/react-use-callback-ref": "^1.1.1",
|
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"es-toolkit": "^1.49.0",
|
|
"lucide-react": "^0.545.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react-day-picker": "^9.14.0",
|
|
"react-dropzone": "^14.3.8",
|
|
"react-resizable-panels": "^4.11.0",
|
|
"remark-github-blockquote-alert": "^2.0.0",
|
|
"streamdown": "^2.5.0",
|
|
"@streamdown/cjk": "^1.0.3",
|
|
"@streamdown/code": "^1.1.1",
|
|
"@streamdown/math": "^1.0.2",
|
|
"@streamdown/mermaid": "^1.0.2",
|
|
"katex": "0.16.22",
|
|
"mermaid": "^11.13.0",
|
|
"tailwind-merge": "^2.5.5",
|
|
"unified": "^11.0.5",
|
|
"unist-util-visit": "5.0.0",
|
|
"vaul": "^1.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@neplex/vectorizer": "^0.0.5",
|
|
"@storybook/addon-docs": "^10.0.5",
|
|
"@storybook/addon-themes": "^10.0.5",
|
|
"@storybook/react": "^10.1.11",
|
|
"@storybook/react-vite": "^10.0.5",
|
|
"@svgr/core": "^8.1.0",
|
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
"@types/hast": "^3.0.4",
|
|
"@types/react": "^19.0.12",
|
|
"@types/react-dom": "^19.0.4",
|
|
"@types/unist": "3.0.3",
|
|
"@uiw/codemirror-extensions-langs": "^4.25.1",
|
|
"@uiw/codemirror-themes-all": "^4.25.1",
|
|
"@uiw/react-codemirror": "^4.25.1",
|
|
"eslint-plugin-storybook": "10.0.5",
|
|
"motion": "^12.42.0",
|
|
"linguist-languages": "^9.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"storybook": "^10.0.5",
|
|
"svgo": "^3.3.2",
|
|
"ts-morph": "^27.0.2",
|
|
"tsdown": "^0.15.5",
|
|
"tsx": "^4.20.6",
|
|
"typescript": "^5.6.2",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"sideEffects": [
|
|
"**/*.css"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"react-native": "./dist/index.js",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./components": {
|
|
"types": "./dist/components/index.d.ts",
|
|
"react-native": "./dist/components/index.js",
|
|
"import": "./dist/components/index.mjs",
|
|
"require": "./dist/components/index.js",
|
|
"default": "./dist/components/index.js"
|
|
},
|
|
"./hooks": {
|
|
"types": "./dist/hooks/index.d.ts",
|
|
"react-native": "./dist/hooks/index.js",
|
|
"import": "./dist/hooks/index.mjs",
|
|
"require": "./dist/hooks/index.js",
|
|
"default": "./dist/hooks/index.js"
|
|
},
|
|
"./utils": {
|
|
"types": "./dist/utils/index.d.ts",
|
|
"react-native": "./dist/utils/index.js",
|
|
"import": "./dist/utils/index.mjs",
|
|
"require": "./dist/utils/index.js",
|
|
"default": "./dist/utils/index.js"
|
|
},
|
|
"./icons": {
|
|
"types": "./dist/icons/index.d.ts",
|
|
"react-native": "./dist/icons/index.js",
|
|
"import": "./dist/icons/index.mjs",
|
|
"require": "./dist/icons/index.js",
|
|
"default": "./dist/icons/index.js"
|
|
},
|
|
"./styles": "./dist/styles/tokens.css",
|
|
"./styles/tokens.css": "./dist/styles/tokens.css",
|
|
"./styles/theme.css": "./dist/styles/theme.css",
|
|
"./styles/index.css": "./dist/styles/tokens.css"
|
|
}
|
|
}
|