-
-
Notifications
You must be signed in to change notification settings - Fork 155
/
package.json
180 lines (180 loc) · 5.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "@lobehub/ui",
"version": "1.152.0",
"description": "Lobe UI is an open-source UI component library for building AIGC web apps",
"keywords": [
"lobehub",
"components",
"chatbot components",
"react components",
"react ui"
],
"homepage": "https://github.com/lobehub/lobe-ui",
"bugs": {
"url": "https://github.com/lobehub/lobe-ui/issues/new"
},
"repository": {
"type": "git",
"url": "https://github.com/lobehub/lobe-ui.git"
},
"license": "MIT",
"author": "LobeHub <[email protected]>",
"sideEffects": false,
"main": "es/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"es",
"mdx.d.ts",
"mdx.js",
"brand.d.ts",
"brand.js"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"ci": "npm run lint:circular && npm run lint && npm run type-check",
"clean": "rm -r es lib dist coverage .dumi/tmp .eslintcache node_modules/.cache",
"docs:build": "dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"docs:dev": "dumi dev",
"doctor": "father doctor",
"lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:circular": "dpdm src/**/*.{ts,tsx} --warning false --tree false --exit-code circular:1 -T true",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky install && npm run setup",
"prepublishOnly": "father doctor && npm run build",
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
"pull": "git pull",
"release": "semantic-release",
"setup": "dumi setup",
"start": "npm run docs:dev",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"test:update": "vitest -u",
"type-check": "tsc -p tsconfig-check.json"
},
"lint-staged": {
"*.md": [
"remark --quiet --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"prettier --write",
"stylelint --fix",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"stylelint --fix",
"eslint --fix"
]
},
"dependencies": {
"@babel/runtime": "^7.25.4",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
"@floating-ui/react": "^0.26.23",
"@giscus/react": "^3.0.0",
"@lobehub/emojilib": "latest",
"@react-spring/web": "^9.7.4",
"@shikijs/transformers": "^1.14.1",
"@splinetool/runtime": "^0.9.526",
"chroma-js": "^2.6.0",
"dayjs": "^1.11.13",
"emoji-mart": "^5.6.0",
"emoji-regex": "^10.3.0",
"fast-deep-equal": "^3.1.3",
"immer": "^10.1.1",
"leva": "^0.9.35",
"lodash-es": "^4.17.21",
"mermaid": "^10.9.1",
"numeral": "^2.0.6",
"polished": "^4.3.1",
"prism-react-renderer": "^2.3.1",
"query-string": "^9.1.0",
"rc-footer": "^0.6.8",
"re-resizable": "^6.9.17",
"react-avatar-editor": "^13.0.2",
"react-error-boundary": "^4.0.13",
"react-layout-kit": "^1.9.0",
"react-markdown": "^8.0.7",
"react-merge-refs": "^2.1.1",
"react-rnd": "^10.4.12",
"react-simple-code-editor": "^0.13.1",
"rehype-katex": "^6.0.3",
"rehype-raw": "^7.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"shiki": "^1.14.1",
"swr": "^2.2.5",
"ts-md5": "^1.3.1",
"url-join": "^5.0.0",
"use-merge-value": "^1.2.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@ant-design/icons": "^5.4.0",
"@commitlint/cli": "^19.4.0",
"@lobehub/lint": "^1.24.4",
"@testing-library/react": "^14.3.1",
"@types/chroma-js": "^2.4.4",
"@types/lodash-es": "^4.17.12",
"@types/mdx": "^2.0.13",
"@types/numeral": "^2.0.5",
"@types/pangu": "^4.0.2",
"@types/query-string": "^6.3.0",
"@types/react": "18.2.40",
"@types/react-avatar-editor": "^13.0.2",
"@types/react-dom": "^18.3.0",
"@types/unist": "^3.0.3",
"@types/uuid": "^10.0.0",
"@vitest/coverage-v8": "~1.2.2",
"babel-plugin-antd-style": "^1.0.4",
"commitlint": "^19.4.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"dpdm": "^3.14.0",
"dumi": "2.2.17",
"dumi-theme-lobehub": "^1.8.1",
"eslint": "^8.57.0",
"father": "4.3.1",
"husky": "9.0.11",
"jsdom": "^24.1.3",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"semantic-release": "^21.1.2",
"stylelint": "^15.11.0",
"typescript": "^5.5.4",
"umi": "4.3.16",
"unist-util-is": "^6.0.0",
"unist-util-visit": "^5.0.0",
"vitest": "~1.2.2"
},
"peerDependencies": {
"ahooks": ">=3",
"antd": ">=5.13.0",
"antd-style": ">=3",
"lucide-react": ">=0.396.0",
"react": ">=18",
"react-dom": ">=18",
"unified": ">=10.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}