mirror of
https://github.com/dream-num/univer.git
synced 2026-08-28 23:01:30 +08:00
104 lines
3.1 KiB
JSON
104 lines
3.1 KiB
JSON
{
|
|
"name": "@univerjs/design",
|
|
"version": "1.0.0-beta.0",
|
|
"private": false,
|
|
"description": "Shared React design components, styles, and locale resources for Univer UI packages.",
|
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
"license": "Apache-2.0",
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/univer"
|
|
},
|
|
"homepage": "https://univer.ai",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/dream-num/univer"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/dream-num/univer/issues"
|
|
},
|
|
"keywords": [
|
|
"univer",
|
|
"design-system",
|
|
"ui",
|
|
"react",
|
|
"components"
|
|
],
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./*": "./src/*",
|
|
"./locale/*": "./src/locale/*.ts"
|
|
},
|
|
"main": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"main": "./lib/es/index.js",
|
|
"module": "./lib/es/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./lib/es/index.js",
|
|
"require": "./lib/cjs/index.js",
|
|
"types": "./lib/types/index.d.ts"
|
|
},
|
|
"./*": {
|
|
"import": "./lib/es/*",
|
|
"require": "./lib/cjs/*",
|
|
"types": "./lib/types/index.d.ts"
|
|
},
|
|
"./locale/*": {
|
|
"import": "./lib/es/locale/*.js",
|
|
"require": "./lib/cjs/locale/*.js",
|
|
"types": "./lib/types/locale/*.d.ts"
|
|
},
|
|
"./lib/*": "./lib/*"
|
|
}
|
|
},
|
|
"directories": {
|
|
"lib": "lib"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"coverage": "vitest run --coverage",
|
|
"typecheck": "tsc --noEmit",
|
|
"build:bundle": "univer-cli build",
|
|
"build:types": "tsc -p tsconfig.node.json",
|
|
"build": "pnpm run build:bundle && pnpm run build:types"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-dialog": "^1.1.23",
|
|
"@radix-ui/react-direction": "^1.1.4",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.24",
|
|
"@radix-ui/react-hover-card": "^1.1.23",
|
|
"@radix-ui/react-popover": "^1.1.23",
|
|
"@radix-ui/react-separator": "^1.1.15",
|
|
"@radix-ui/react-slot": "^1.3.3",
|
|
"@univerjs/icons": "1.35.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "1.1.1",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@univerjs-infra/shared": "workspace:*",
|
|
"postcss": "^8.5.25",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"tailwindcss": "3.4.18",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|