-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
90 lines (90 loc) · 2.4 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
{
"name": "plugin-identifier",
"version": "1.5.1",
"private": true,
"description": "This is the plugin template for LobeChat plugin development",
"homepage": "https://github.com/lobehub/chat-plugin-template",
"repository": "https://github.com/lobehub/chat-plugin-template.git",
"workspaces": [
"docs/*",
"./*"
],
"scripts": {
"build": "npm run docs:build && next build",
"ci": "npm run lint && npm run type-check",
"dev": "next dev -p 3400",
"docs:build": "cd docs && npm run build",
"docs:dev": "cd docs && npm run dev",
"lint": "eslint \"{src,api,docs}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky install",
"prepublishOnly": "npm run doctor && npm run build",
"prettier": "prettier -c --write \"**/**\"",
"release": "semantic-release",
"start": "next start",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest --coverage --passWithNoTests",
"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"
],
"*.{js,jsx}": [
"prettier --write",
"stylelint --fix",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"stylelint --fix",
"eslint --fix"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"dependencies": {
"@lobehub/chat-plugin-sdk": "^1",
"@lobehub/chat-plugins-gateway": "^1",
"@lobehub/ui": "latest",
"antd": "^5",
"antd-style": "^3",
"dayjs": "^1",
"next": "13.4.7",
"react": "^18",
"react-dom": "^18",
"react-layout-kit": "^1"
},
"devDependencies": {
"@commitlint/cli": "^18",
"@lobehub/lint": "latest",
"@types/react": "18",
"@vercel/node": "^2",
"@vitest/coverage-v8": "latest",
"commitlint": "^18",
"cross-env": "^7",
"eslint": "^8",
"father": "4.3.1",
"husky": "^8",
"lint-staged": "^15",
"prettier": "^3",
"remark": "^14",
"remark-cli": "^11",
"semantic-release": "^21",
"stylelint": "^15",
"typescript": "^5",
"vitest": "latest"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
}
}