package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "@univerjs/design",
  3. "version": "0.5.5",
  4. "private": false,
  5. "description": "UI component library for building exceptional Univer.",
  6. "author": "DreamNum <developer@univer.ai>",
  7. "license": "Apache-2.0",
  8. "funding": {
  9. "type": "opencollective",
  10. "url": "https://opencollective.com/univer"
  11. },
  12. "homepage": "https://univer.ai",
  13. "repository": {
  14. "type": "git",
  15. "url": "https://github.com/dream-num/univer"
  16. },
  17. "bugs": {
  18. "url": "https://github.com/dream-num/univer/issues"
  19. },
  20. "keywords": [
  21. "univer"
  22. ],
  23. "exports": {
  24. ".": {
  25. "import": "./lib/es/index.js",
  26. "require": "./lib/cjs/index.js",
  27. "types": "./lib/types/index.d.ts"
  28. },
  29. "./*": {
  30. "import": "./lib/es/*",
  31. "require": "./lib/cjs/*",
  32. "types": "./lib/types/index.d.ts"
  33. },
  34. "./locale/*": {
  35. "import": "./lib/es/locale/*.js",
  36. "require": "./lib/cjs/locale/*.js",
  37. "types": "./lib/types/locale/*.d.ts"
  38. },
  39. "./lib/*": "./lib/*"
  40. },
  41. "main": "./lib/es/index.js",
  42. "types": "./lib/types/index.d.ts",
  43. "publishConfig": {
  44. "access": "public"
  45. },
  46. "directories": {
  47. "lib": "lib"
  48. },
  49. "files": [
  50. "lib"
  51. ],
  52. "peerDependencies": {
  53. "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
  54. "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
  55. },
  56. "dependencies": {
  57. "@rc-component/color-picker": "^2.0.1",
  58. "@rc-component/trigger": "^2.2.5",
  59. "@univerjs/icons": "^0.2.12",
  60. "clsx": "^2.1.1",
  61. "dayjs": "^1.11.13",
  62. "rc-dialog": "^9.6.0",
  63. "rc-dropdown": "^4.2.0",
  64. "rc-input": "^1.6.3",
  65. "rc-input-number": "^9.3.0",
  66. "rc-menu": "^9.16.0",
  67. "rc-picker": "^4.8.1",
  68. "rc-segmented": "^2.5.0",
  69. "rc-select": "^14.16.3",
  70. "rc-textarea": "^1.8.2",
  71. "rc-util": "^5.43.0",
  72. "rc-virtual-list": "^3.15.0",
  73. "react-draggable": "^4.4.6",
  74. "react-grid-layout": "^1.5.0",
  75. "react-transition-group": "^4.4.5",
  76. "tailwind-merge": "^2.6.0"
  77. },
  78. "devDependencies": {
  79. "@testing-library/react": "^16.1.0",
  80. "@types/react-grid-layout": "^1.3.5",
  81. "@types/react-transition-group": "^4.4.11",
  82. "less": "^4.2.1",
  83. "postcss": "^8.4.49",
  84. "react": "18.3.1",
  85. "react-dom": "18.3.1",
  86. "tailwindcss": "^3.4.17",
  87. "tailwindcss-animate": "^1.0.7",
  88. "typescript": "^5.7.2",
  89. "vite": "^6.0.7",
  90. "vitest": "^2.1.8",
  91. "@univerjs-infra/shared": "0.5.5",
  92. "@univerjs/core": "0.5.5"
  93. },
  94. "scripts": {
  95. "test": "vitest run",
  96. "test:watch": "vitest",
  97. "coverage": "vitest run --coverage",
  98. "lint:types": "tsc --noEmit",
  99. "build": "univer-cli build"
  100. },
  101. "module": "./lib/es/index.js"
  102. }