-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
115 lines (115 loc) · 3.26 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
{
"name": "console",
"version": "1.0.0",
"description": "Dragonfly console is the front-end console of dragonfly, through which you can easily configure clusters and view cluster information.",
"license": "Apache-2.0",
"keywords": [
"dragonfly",
"d7y",
"p2p"
],
"repository": "[email protected]:dragonflyoss/console.git",
"scripts": {
"start": "react-app-rewired -r @cypress/instrument-cra start",
"build": "BUILD_PATH='./dist' react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-scripts eject",
"lint": "react-scripts lint",
"cy:open": "npx cypress open",
"cy:run": "npx cypress run --headed",
"coverage:verify": "npx nyc report --check-coverage true --lines 10"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.3",
"@mui/lab": "^5.0.0-alpha.138",
"@mui/material": "^5.14.3",
"@mui/styled-engine-sc": "^6.0.1",
"@mui/styles": "^5.14.3",
"@testing-library/jest-dom": "^6.0.1",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.3",
"@types/js-cookie": "^3.0.3",
"@types/jsonwebtoken": "^9.0.2",
"@types/lodash.upperfirst": "^4.3.7",
"@types/node": "^22.1.0",
"@types/react": "^18.2.18",
"@types/react-dom": "^19.0.1",
"@types/react-swipeable-views": "^0.13.2",
"@types/react-swipeable-views-utils": "^0.13.4",
"babel-loader": "^9.1.3",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"js-cookie": "^3.0.5",
"jsonwebtoken": "^9.0.1",
"lodash.upperfirst": "^4.3.1",
"lottie-react": "^2.4.0",
"node-polyfill-webpack-plugin": "^4.0.0",
"process": "^0.11.10",
"query-string": "^9.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.14.2",
"react-scripts": "5.0.1",
"react-swipeable-views": "^0.14.0",
"react-swipeable-views-utils": "^0.14.0",
"stream-browserify": "^3.0.0",
"web-vitals": "^4.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@cypress/code-coverage": "^3.12.6",
"@cypress/instrument-cra": "^1.4.0",
"@web3-storage/parse-link-header": "^3.1.0",
"chart.js": "^4.4.0",
"cypress": "^13.3.3",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-cypress": "^4.0.0",
"husky": "^9.0.7",
"lint-staged": "^15.0.1",
"react-app-rewired": "^2.2.1",
"react-chartjs-2": "^5.2.0",
"react-use": "^17.4.0",
"typescript": "^5.2.2"
},
"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"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,}": [
"prettier --write"
],
"*.{json,yaml,yml}": [
"prettier --write"
],
"*.{css,sass}": [
"prettier --write"
]
}
}