-
-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 3.96 KB
/
package.json
File metadata and controls
143 lines (143 loc) · 3.96 KB
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
{
"name": "@lobehub/tts",
"version": "5.1.2",
"description": "A high-quality & reliable TTS React Hooks library",
"homepage": "https://github.com/lobehub/lobe-tts",
"bugs": {
"url": "https://github.com/lobehub/lobe-tts/issues/new/choose"
},
"repository": {
"type": "git",
"url": "https://github.com/lobehub/lobe-tts.git"
},
"license": "MIT",
"author": "LobeHub <[email protected]>",
"sideEffects": false,
"exports": {
".": {
"types": "./es/index.d.mts",
"import": "./es/index.mjs",
"default": "./es/index.mjs"
},
"./react": {
"types": "./es/react.d.mts",
"import": "./es/react.mjs",
"default": "./es/react.mjs"
},
"./server": {
"types": "./es/server.d.mts",
"import": "./es/server.mjs",
"default": "./es/server.mjs"
}
},
"files": [
"es"
],
"scripts": {
"build": "tsdown",
"ci": "npm run lint && npm run type-check",
"dev": "tsdown --watch",
"docs:build": "npm run build && dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"docs:dev": "concurrently -n docs,api -c blue,yellow \"dumi dev\" \"vercel dev -y\"",
"i18n-md": "lobe-i18n md",
"lint": "eslint \"{src,api,lib}/**/*.{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",
"prepack": "clean-package",
"postpack": "clean-package restore",
"prepare": "husky && npm run setup",
"prepublishOnly": "npm run build",
"prettier": "prettier -c --write \"**/**\"",
"release": "semantic-release",
"setup": "dumi setup",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"test:update": "vitest -u",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"*.md": [
"remark --quiet --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{mjs,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{js,jsx}": [
"prettier --write",
"stylelint --fix",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"stylelint --fix",
"eslint --fix"
]
},
"dependencies": {
"@lobehub/ui": "^5.0.0",
"antd-style": "^4.1.0",
"es-toolkit": "^1.43.0",
"lucide-react": "^0.469.0",
"markdown-to-txt": "^2.0.1",
"openai": "^6.15.0",
"query-string": "^9.3.1",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"swr": "^2.3.8",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"url-join": "^5.0.0",
"uuid": "^11.1.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@lobehub/i18n-cli": "^1.25.1",
"@lobehub/lint": "^1.26.3",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/uuid": "^11.0.0",
"@vercel/node": "^5.5.16",
"@vitest/coverage-v8": "~1.2.2",
"antd": "^6.1.2",
"babel-plugin-antd-style": "^1.0.4",
"clean-package": "^2.2.0",
"commitlint": "^19.8.1",
"concurrently": "^9.2.1",
"dpdm": "^3.14.0",
"dumi": "^2.4.21",
"dumi-theme-lobehub": "^5.0.0",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"jsdom": "^27.3.0",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"remark": "^15.0.1",
"remark-cli": "^12.0.1",
"semantic-release": "^21.1.2",
"stylelint": "^15.11.0",
"tsdown": "^0.21.0-beta.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vercel": "^50.1.3",
"vitest": "~1.2.2"
},
"peerDependencies": {
"antd": "^6.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}