-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
124 lines (124 loc) · 3.45 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
{
"name": "@lobehub/charts",
"version": "1.9.0",
"description": "React modern charts components built on recharts",
"keywords": [
"lobehub",
"charts"
],
"homepage": "https://github.com/lobehub/lobe-charts",
"bugs": {
"url": "https://github.com/lobehub/lobe-charts/issues/new"
},
"repository": {
"type": "git",
"url": "https://github.com/lobehub/lobe-charts.git"
},
"license": "MIT",
"author": "LobeHub <[email protected]>",
"sideEffects": false,
"main": "es/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"es"
],
"scripts": {
"build": "father build",
"build:watch": "father dev",
"ci": "npm run lint && npm run type-check",
"clean": "rm -r es lib dist coverage .dumi/tmp .eslintcache node_modules/.cache",
"dev": "dumi dev",
"docs:build": "dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"doctor": "father doctor",
"lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . --quiet --frail --output",
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky install && npm run setup",
"prepublishOnly": "npm run build",
"prettier": "prettier -c --write --no-error-on-unmatched-pattern \"**/**\"",
"pull": "git pull",
"release": "semantic-release",
"setup": "dumi setup",
"start": "npm run 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.24.8",
"date-fns": "^3.6.0",
"polished": "^4.3.1",
"recharts": "^2.12.7"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@icons-pack/react-simple-icons": "^9.6.0",
"@lobehub/lint": "^1.24.3",
"@lobehub/ui": "^1.146.8",
"@testing-library/react": "^14.3.1",
"@types/chroma-js": "^2.4.4",
"@types/pangu": "^4.0.2",
"@types/query-string": "^6.3.0",
"@types/react": "18.2.40",
"@types/react-dom": "^18.3.0",
"@vitest/coverage-v8": "~1.2.2",
"babel-plugin-antd-style": "^1.0.4",
"commitlint": "^19.3.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"dayjs": "^1.11.13",
"dumi": "2.2.17",
"dumi-theme-lobehub": "^1.8.1",
"eslint": "^8.57.0",
"father": "4.3.1",
"husky": "9.0.11",
"jsdom": "^23.2.0",
"lint-staged": "^15.2.7",
"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.3",
"vitest": "~1.2.2"
},
"peerDependencies": {
"@lobehub/ui": ">=1",
"ahooks": ">=3",
"antd": ">=5.13.0",
"antd-style": ">=3",
"chroma-js": ">=2",
"lucide-react": ">=0.396.0",
"react": ">=18",
"react-dom": ">=18",
"react-layout-kit": ">=1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}