mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
- Added new design token files including design-tokens.css and theme.css to standardize styling across the UI. - Introduced a conversion log (CONVERSION_LOG.md) detailing the migration from todocss.css to design-tokens.css, including variable updates and deprecations. - Updated package.json to include new CSS files for easier imports. - Enhanced README.md to provide clear guidelines on the design reference and usage of design tokens. - Improved globals.css to integrate with the new design token structure and ensure consistency in styling.
134 lines
3.9 KiB
JSON
134 lines
3.9 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": "tsdown",
|
|
"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",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"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": {
|
|
"@heroui/react": "^2.8.4",
|
|
"framer-motion": "^11.0.0 || ^12.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tailwindcss": "^4.1.13"
|
|
},
|
|
"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/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@radix-ui/react-radio-group": "^1.3.8",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"lucide-react": "^0.545.0",
|
|
"react-dropzone": "^14.3.8",
|
|
"tailwind-merge": "^2.5.5"
|
|
},
|
|
"devDependencies": {
|
|
"@heroui/react": "^2.8.4",
|
|
"@storybook/addon-docs": "^9.1.6",
|
|
"@storybook/addon-themes": "^9.1.6",
|
|
"@storybook/react-vite": "^9.1.6",
|
|
"@types/react": "^19.0.12",
|
|
"@types/react-dom": "^19.0.4",
|
|
"@types/styled-components": "^5.1.34",
|
|
"@uiw/codemirror-extensions-langs": "^4.25.1",
|
|
"@uiw/codemirror-themes-all": "^4.25.1",
|
|
"@uiw/react-codemirror": "^4.25.1",
|
|
"antd": "^5.22.5",
|
|
"eslint-plugin-storybook": "9.1.6",
|
|
"framer-motion": "^12.23.12",
|
|
"linguist-languages": "^9.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"storybook": "^9.1.6",
|
|
"styled-components": "^6.1.15",
|
|
"tsdown": "^0.15.5",
|
|
"tsx": "^4.20.5",
|
|
"typescript": "^5.6.2",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"resolutions": {
|
|
"@codemirror/language": "6.11.3",
|
|
"@codemirror/lint": "6.8.5",
|
|
"@codemirror/view": "6.38.1"
|
|
},
|
|
"sideEffects": false,
|
|
"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"
|
|
},
|
|
"./styles/design-tokens.css": "./src/styles/design-tokens.css",
|
|
"./styles/theme.css": "./src/styles/theme.css",
|
|
"./styles/globals.css": "./src/styles/globals.css"
|
|
},
|
|
"packageManager": "yarn@4.9.1"
|
|
}
|