package.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. {
  2. "name": "@douyinfe/semi-ui",
  3. "version": "2.90.0",
  4. "description": "A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.",
  5. "main": "lib/cjs/index.js",
  6. "module": "lib/es/index.js",
  7. "types": "lib/es/index.d.ts",
  8. "exports": {
  9. ".": {
  10. "types": "./lib/es/index.d.ts",
  11. "import": "./lib/es/index.js",
  12. "require": "./lib/cjs/index.js"
  13. },
  14. "./*": {
  15. "types": "./lib/es/*/index.d.ts",
  16. "import": "./lib/es/*/index.js",
  17. "require": "./lib/cjs/*/index.js"
  18. },
  19. "./lib/es/*": {
  20. "types": [
  21. "./lib/es/*.d.ts",
  22. "./lib/es/*/index.d.ts"
  23. ],
  24. "import": "./lib/es/*.js",
  25. "default": "./lib/es/*.js"
  26. },
  27. "./lib/cjs/*": {
  28. "types": [
  29. "./lib/cjs/*.d.ts",
  30. "./lib/cjs/*/index.d.ts"
  31. ],
  32. "require": "./lib/cjs/*.js",
  33. "default": "./lib/cjs/*.js"
  34. }
  35. },
  36. "scripts": {
  37. "clean": "rimraf dist lib content",
  38. "clean:content": "rimraf content",
  39. "build:lib": "node ./scripts/compileLib.js",
  40. "build:js": "node scripts/compileDist.js",
  41. "build:css": "node scripts/compileScss.js",
  42. "copy:content": "node scripts/copyContent.js",
  43. "prepublishOnly": "npm run clean && npm run build:lib && npm run build:js && npm run build:css && npm run copy:content",
  44. "postpublish": "npm run clean:content"
  45. },
  46. "files": [
  47. "dist/*",
  48. "lib/*",
  49. "content/**/*",
  50. "**/*.ts",
  51. "**/*.tsx",
  52. "**/*.scss",
  53. "!**/_story/**",
  54. "!**/__test__/**",
  55. "!**/_test_/**",
  56. "!**/node_modules/**",
  57. "!**/*.test.ts",
  58. "!**/*.test.tsx",
  59. "!**/*.spec.ts",
  60. "!**/*.spec.tsx"
  61. ],
  62. "typesVersions": {
  63. "*": {
  64. "*": [
  65. "lib/es/*"
  66. ]
  67. }
  68. },
  69. "dependencies": {
  70. "@dnd-kit/core": "^6.0.8",
  71. "@dnd-kit/sortable": "^7.0.2",
  72. "@dnd-kit/utilities": "^3.2.1",
  73. "@douyinfe/semi-animation": "2.90.0",
  74. "@douyinfe/semi-animation-react": "2.90.0",
  75. "@douyinfe/semi-foundation": "2.90.0",
  76. "@douyinfe/semi-icons": "2.90.0",
  77. "@douyinfe/semi-illustrations": "2.90.0",
  78. "@douyinfe/semi-theme-default": "2.90.0",
  79. "@tiptap/core": "^3.10.7",
  80. "@tiptap/extension-document": "^3.10.7",
  81. "@tiptap/extension-hard-break": "^3.10.7",
  82. "@tiptap/extension-mention": "^3.10.7",
  83. "@tiptap/extension-paragraph": "^3.10.7",
  84. "@tiptap/extension-text": "^3.10.7",
  85. "@tiptap/extensions": "^3.10.7",
  86. "@tiptap/pm": "^3.10.7",
  87. "@tiptap/react": "^3.10.7",
  88. "async-validator": "^3.5.0",
  89. "classnames": "^2.2.6",
  90. "copy-text-to-clipboard": "^2.1.1",
  91. "date-fns": "^2.29.3",
  92. "date-fns-tz": "^1.3.8",
  93. "fast-copy": "^3.0.1 ",
  94. "jsonc-parser": "^3.3.1",
  95. "lodash": "^4.17.21",
  96. "prop-types": "^15.7.2",
  97. "prosemirror-state": "^1.4.3",
  98. "react-resizable": "^3.0.5",
  99. "react-window": "^1.8.2",
  100. "scroll-into-view-if-needed": "^2.2.24",
  101. "utility-types": "^3.10.0"
  102. },
  103. "peerDependencies": {
  104. "react": ">=16.0.0",
  105. "react-dom": ">=16.0.0",
  106. "@mlc-ai/web-llm": "^0.2.80"
  107. },
  108. "sideEffects": [
  109. "*.scss",
  110. "*.css",
  111. "lib/es/index.js",
  112. "./index.ts"
  113. ],
  114. "keywords": [
  115. "bytedance douyin design system",
  116. "semi design to any design",
  117. "a11y react component library",
  118. "design to code",
  119. "code to design",
  120. "3000+ design token",
  121. "dark mode",
  122. "semi design",
  123. "design ops",
  124. "modern design system",
  125. "figma ui kit"
  126. ],
  127. "homepage": "https://semi.design",
  128. "bugs": {
  129. "url": "https://github.com/DouyinFE/semi-design/issues"
  130. },
  131. "repository": {
  132. "type": "git",
  133. "url": "https://github.com/DouyinFE/semi-design"
  134. },
  135. "_unpkg": true,
  136. "unpkgFiles": [
  137. "dist/css",
  138. "dist/umd/*.js"
  139. ],
  140. "author": "",
  141. "license": "MIT",
  142. "gitHead": "e78045febe3e4645c8afe6d42cfbcb4e97a67923",
  143. "devDependencies": {
  144. "@babel/plugin-proposal-decorators": "^7.15.8",
  145. "@babel/plugin-transform-runtime": "^7.15.8",
  146. "@babel/preset-env": "^7.15.8",
  147. "@babel/preset-react": "^7.14.5",
  148. "@douyinfe/semi-scss-compile": "2.23.2",
  149. "@testing-library/react": "^12",
  150. "@types/lodash": "^4.14.176",
  151. "@types/react": ">=16.0.0",
  152. "@types/react-dom": ">=16.0.0",
  153. "@types/react-window": "^1.8.2",
  154. "babel-loader": "^8.2.2",
  155. "babel-plugin-lodash": "^3.3.4",
  156. "case-sensitive-paths-webpack-plugin": "^2.4.0",
  157. "del": "^6.0.0",
  158. "enzyme": "^3.11.0",
  159. "grapheme-splitter": "^1.0.4",
  160. "gulp": "^4.0.2",
  161. "gulp-babel": "^8.0.0",
  162. "gulp-replace": "^1.1.3",
  163. "gulp-sass": "^5.0.0",
  164. "gulp-typescript": "^6.0.0-alpha.1",
  165. "immutability-helper": "^3.1.1",
  166. "jest-date-mock": "^1.0.8",
  167. "jsdom": "^15.2.1",
  168. "merge2": "^1.4.1",
  169. "null-loader": "^3.0.0",
  170. "react-dnd": "^9.5.1",
  171. "react-infinite-scroller": "^1.2.4",
  172. "react-storybook-addon-props-combinations": "^1.1.0",
  173. "react-virtualized": "^9.22.3",
  174. "rimraf": "^3.0.2",
  175. "sass": "1.54.9",
  176. "sinon": "^6.3.5",
  177. "terser-webpack-plugin": "^4.2.3",
  178. "through2": "^4.0.2",
  179. "ts-loader": "^5.4.5",
  180. "webpack": "^5.77.0",
  181. "webpackbar": "^5.0.0-3"
  182. }
  183. }