-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
107 lines (107 loc) · 2.77 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
{
"name": "l-admin-react",
"version": "2.0.0",
"private": true,
"dependencies": {
"@ant-design/colors": "^7.0.0",
"@emotion/css": "^11.11.0",
"@reduxjs/toolkit": "^1.9.5",
"@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.34",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"antd": "^5.5.2",
"axios": "^1.4.0",
"classnames": "^2.3.2",
"echarts": "^5.4.2",
"fast-xml-parser": "^4.2.6",
"i18next": "^22.5.0",
"jsencrypt": "^3.3.2",
"localforage": "^1.10.0",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"query-string": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.3.1",
"react-redux": "^8.0.7",
"react-router-dom": "^6.11.2",
"react-scripts": "5.0.1",
"react-transition-group": "^4.4.5",
"redux": "^4.2.1",
"resize-observer-polyfill": "^1.5.1",
"typescript": "^4.9.5",
"uuid": "^9.0.0",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"github-pages": "dotenv -e .env.github-pages craco build",
"test": "craco test",
"format": "prettier --write . --ignore-path .gitignore",
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"prepare": "husky install"
},
"eslintConfig": {
"plugins": [
"prettier"
],
"extends": [
"react-app",
"react-app/jest",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": "warn",
"testing-library/no-node-access": [
"error",
{
"allowContainerFirstChild": true
}
]
}
},
"jest": {
"transformIgnorePatterns": [],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@craco/craco": "^7.1.0",
"@types/bmapgl": "^0.0.7",
"@types/lodash-es": "^4.17.7",
"@types/mockjs": "^1.0.7",
"@types/react-transition-group": "^4.4.6",
"@types/uuid": "^9.0.1",
"dotenv-cli": "^7.2.1",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"webpack-bundle-analyzer": "^4.9.0"
},
"lint-staged": {
"*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --fix",
"*.{md,json}": "prettier --write"
}
}