-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.46 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": "snmp-sim-ui",
"version": "0.1.0",
"main": "index.js",
"repository": "[email protected]:sonalake/snmp-sim-ui.git",
"license": "Apache-2.0",
"dependencies": {
"@tanstack/react-query": "^4.29.19",
"@tanstack/react-table": "^8.9.2",
"axios": "^1.2.2",
"flowbite": "^1.6.6",
"flowbite-react": "^0.4.9",
"formik": "^2.4.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.4.0",
"react-router-dom": "^6.6.1",
"react-scripts": "5.0.1",
"react-toastify": "^9.0.7",
"tss-react": "^4.4.5",
"web-vitals": "^2.1.0",
"yup": "^1.2.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@tanstack/react-query-devtools": "^4.29.19",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-icons": "^3.0.0",
"@types/react-router": "^5.1.18",
"@types/react-router-dom": "^5.3.3",
"@types/tailwindcss": "^3.1.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"axios-mock-adapter": "^1.21.2",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"jest-junit": "^15.0.0",
"lint-staged": "^13.1.0",
"msw": "^1.2.3",
"prettier": "^2.8.1",
"react-test-renderer": "^18.2.0",
"tailwindcss": "^3.1.7",
"typescript": "^4.4.2"
},
"scripts": {
"start": "PORT=5000 react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:coverage": "react-scripts test --coverage --watchAll=false --verbose -e",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.{js,jsx,ts,tsx,json}",
"lint:staged": "eslint --cache --fix",
"lint:all": "eslint \"**/*.{ts,tsx,js,jsx,mjs}\" --cache --fix",
"prettier:staged": "prettier --write",
"prettier:all": "prettier \"**/*.{ts,tsx,js,jsx,mjs}\" --write",
"format:all": "yarn prettier:all && yarn lint:all"
},
"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": {
"*.{js,jsx,ts,tsx}": [
"yarn lint:staged",
"yarn prettier:staged"
]
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module"
}
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/src/app/**/*.{ts,tsx}",
"!<rootDir>/**/index.*",
"!<rootDir>/src/app/constants/**",
"!<rootDir>/src/app/context/**",
"!<rootDir>/src/app/queries/**",
"!<rootDir>/src/app/types/**",
"!<rootDir>/src/app/utils/testUtils.*",
"!<rootDir>/src/assets/**",
"!<rootDir>/node_modules/"
],
"coverageReporters": [
"json",
"lcov",
"text",
"cobertura"
],
"transformIgnorePatterns": [
"node_modules/(?!axios)/"
]
},
"msw": {
"workerDirectory": "public"
},
"proxy": "http://127.0.0.1:8180"
}