/
package.json
130 lines (130 loc) · 3.53 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
{
"name": "dumi-theme-lobehub",
"version": "1.7.7",
"description": "dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui",
"keywords": [
"lobehub",
"dumi",
"dumi theme"
],
"homepage": "https://github.com/lobehub/dumi-theme-lobehub",
"bugs": {
"url": "https://github.com/lobehub/dumi-theme-lobehub/issues/new"
},
"repository": {
"type": "git",
"url": "https://github.com/lobehub/dumi-theme-lobehub.git"
},
"license": "MIT",
"author": "LobeHub <i@lobehub.com>",
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"workspaces": [
"example/*",
"./*"
],
"scripts": {
"build": "father build",
"ci": "npm run lint && npm run type-check",
"dev": "father dev",
"docs:build": "cd example && npm run build",
"docs:dev": "cd example && npm run dev",
"doctor": "father doctor",
"lint": "eslint \"{src,example}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"{src,example}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepack": "npm run build && clean-pkg-json",
"prepare": "husky install && father link-dev-theme",
"prepublishOnly": "npm run build",
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
"release": "semantic-release",
"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": {
"@floating-ui/react": "^0",
"@giscus/react": "^2",
"@lobehub/ui": "^1",
"ahooks": "^3",
"antd": "^5",
"antd-style": "^3",
"chalk": "^4",
"fast-deep-equal": "^3",
"history": "^5",
"lodash-es": "^4",
"lucide-react": "latest",
"polished": "^4",
"rc-footer": "^0",
"react-layout-kit": "^1",
"styled-components": "latest",
"use-merge-value": "^1",
"zustand": "^4"
},
"devDependencies": {
"@commitlint/cli": "^19.0.0",
"@lobehub/lint": "latest",
"@types/lodash-es": "^4",
"@types/node": "^20",
"@types/react": "18.2.40",
"@types/react-dom": "^18",
"@vitest/coverage-v8": "latest",
"clean-pkg-json": "^1",
"commitlint": "^19.0.0",
"dumi": "^2",
"dumi-assets-types": "^1",
"eslint": "^8",
"father": "4.3.1",
"father-plugin-dumi-theme": "latest",
"husky": "^9.0.0",
"jsdom": "^24.0.0",
"leva": "^0",
"lint-staged": "^15.0.0",
"prettier": "^3",
"react": "^18",
"react-dom": "^18",
"remark": "^14",
"remark-cli": "^11",
"semantic-release": "^21",
"stylelint": "^16.0.0",
"typescript": "^5",
"vitest": "latest"
},
"peerDependencies": {
"antd": ">=5",
"antd-style": ">=3",
"dumi": ">=2",
"react": ">=18",
"react-dom": ">=18"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}