-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.38 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
{
"name": "rc-echart",
"version": "1.2.2",
"description": "React component wrapper for ECharts based on TypeScript.",
"repository": {
"type": "git",
"url": "https://github.com/lloydzhou/rc-echart.git"
},
"author": "lloydzhou",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"keywords": [
"react",
"typescript",
"tsx",
"echarts",
"echarts-gl"
],
"files": [
"lib"
],
"type": "module",
"main": "lib/index.js",
"module": "lib/index.js",
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"echarts": "^5.4.1",
"echarts-gl": "^2.0.9",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"resize-detector": "^0.3.0",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"web-vitals": "^2.1.4"
},
"peerDependencies": {
"echarts": "^5.4.1",
"echarts-gl": "^2.0.9",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"resize-detector": "^0.3.0"
},
"scripts": {
"lib": "tsc --jsx react-jsx src/index.ts --esModuleInterop --skipLibCheck --allowSyntheticDefaultImports -t es5 -d --outDir lib",
"prettier": "prettier --write src/**/*.ts src/**/*.tsx src/**/*.css src/*.tsx example/*.tsx",
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"**/*.{ts,tsx,scss}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "npm run lint-staged"
}
}
}