-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
147 lines (147 loc) · 3.98 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@yuntijs/charts",
"version": "0.1.0.beta.0",
"description": "☁️ Yunti Charts is an open-source Charts component library for building web apps",
"keywords": [
"yuntijs",
"react",
"cloud-native",
"components",
"charts"
],
"homepage": "https://github.com/yuntijs/yunti-charts#readme",
"bugs": {
"url": "https://github.com/yuntijs/yunti-charts/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yuntijs/yunti-charts.git"
},
"license": "MIT",
"author": "Jandiasnow <[email protected]>",
"main": "es/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"files": [
"es",
"umd"
],
"scripts": {
"build": "father build",
"ci": "npm run lint && npm run type-check",
"clean": "rm -r es umd lib dist coverage .dumi/tmp .eslintcache node_modules/.cache",
"dev": "dumi dev",
"dev:father": "father dev",
"docs:build": "dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"docs:dev": "dumi dev",
"docs:preview": "dumi preview --port 9000",
"doctor": "father doctor",
"lint": "npm run lint:es && npm run lint:style && npm run lint:md",
"lint-fix": "npm run lint-fix:es && npm run lint-fix:style",
"lint-fix:es": "eslint --ext .jsx,.js,.tsx,.ts src --fix",
"lint-fix:style": "stylelint \"{src,tests}/**/*.{css,less,js,jsx,ts,tsx}\" --fix",
"lint:es": "eslint --ext .jsx,.js,.tsx,.ts src",
"lint:md": "remark . --quiet --output",
"lint:style": "stylelint \"{src,tests}/**/*.{css,less,js,jsx,ts,tsx}\"",
"prepare": "husky install",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"pull": "git pull",
"release": "semantic-release",
"setup": "dumi setup",
"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"
],
"*.{css,less}": [
"stylelint --fix --allow-empty-input",
"prettier --write"
],
"*.{js,jsx}": [
"stylelint --fix --allow-empty-input",
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"stylelint --fix",
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@ant-design/icons": "^5",
"@babel/runtime": "^7",
"lodash-es": "^4"
},
"devDependencies": {
"@antv/g2": "^5.1.14",
"@ant-design/icons": "^5",
"@lobehub/ui": "^1",
"leva": "^0",
"lucide-react": "latest",
"react-layout-kit": "^1",
"@testing-library/react": "^14",
"@types/lodash-es": "^4",
"@types/react": "18.2.40",
"@types/react-dom": "^18",
"@vitest/coverage-v8": "latest",
"@yuntijs/lint": "^1.4.0",
"antd": "^5.12.5",
"antd-style": "^3",
"babel-plugin-antd-style": "latest",
"commitlint": "^18",
"dumi": "^2",
"dumi-theme-lobehub": "^1.7.6",
"eslint": "^8.56.0",
"father": "^4.3.8",
"husky": "^8",
"jest": "^27",
"jsdom": "^22",
"lint-staged": "^15",
"prettier": "^3",
"react": "^18",
"react-dom": "^18",
"remark": "^14",
"remark-cli": "^11",
"semantic-release": "^21",
"stylelint": "^15",
"typescript": "^5",
"vitest": "latest"
},
"peerDependencies": {
"@antv/g2": ">=5",
"antd": ">=5",
"antd-style": ">=3",
"react": ">=18",
"react-dom": ">=18"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"yunti": {
"umd": {
"library": "YuntiCharts",
"entry": [
"/umd/index.min.js"
],
"externals": {
"@antv/g2": ">=5",
"antd": ">=5",
"antd-style": ">=3",
"react": ">=18"
}
}
}
}