-
-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.json
126 lines (126 loc) · 3.47 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
{
"name": "@lobehub/tts",
"version": "1.25.8",
"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 <i@lobehub.com>",
"sideEffects": false,
"main": "es/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"es",
"server.d.ts",
"server.js",
"react.d.ts",
"react.js"
],
"scripts": {
"build": "tsx ./scripts/clean.ts && father build && tsx ./scripts/build.ts",
"ci": "npm run lint && npm run type-check && npm run doctor",
"dev": "father dev",
"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\"",
"doctor": "father doctor",
"i18n-md": "lobe-i18n md",
"lint": "eslint \"{src,api,lib}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky && npm run setup",
"prepublishOnly": "npm run build",
"prettier": "prettier -c --write \"**/**\"",
"release": "semantic-release",
"setup": "dumi setup",
"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": {
"@babel/runtime": "^7.26.0",
"lodash-es": "^4.17.21",
"markdown-to-txt": "^2.0.1",
"query-string": "^9.1.1",
"react-error-boundary": "^4.1.2",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
"swr": "^2.2.5",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"url-join": "^5.0.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@lobehub/i18n-cli": "^1.20.1",
"@lobehub/lint": "^1.24.4",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.17.7",
"@types/react": "18.2.40",
"@types/react-dom": "^18.3.1",
"@types/uuid": "^9.0.8",
"@vercel/node": "^3.2.26",
"@vitest/coverage-v8": "~1.2.2",
"babel-plugin-antd-style": "^1.0.4",
"commitlint": "^19.6.0",
"concurrently": "^9.1.0",
"dumi": "^2.4.14",
"dumi-theme-lobehub": "^1.10.8",
"eslint": "^8.57.1",
"father": "^4.5.1",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"semantic-release": "^21.1.2",
"stylelint": "^15.11.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vercel": "^28.20.0",
"vitest": "~1.2.2"
},
"peerDependencies": {
"@lobehub/ui": ">=1",
"antd": ">=5",
"antd-style": ">=3",
"lucide-react": ">=0.396.0",
"openai": ">=4",
"react": ">=18",
"react-dom": ">=18",
"react-layout-kit": ">=1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}