-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 2.87 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": "nrcan-front-end",
"version": "0.1.0",
"private": true,
"dependencies": {
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@fontsource-variable/work-sans": "^5.0.18",
"@mui/icons-material": "^5.15.9",
"@mui/material": "^5.14.18",
"@mui/styles": "^5.14.12",
"@mui/x-charts": "^6.19.4",
"@reduxjs/toolkit": "^1.9.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"apexcharts": "^3.46.0",
"axios": "^1.5.0",
"axios-mock-adapter": "^1.22.0",
"env-cmd": "^10.1.0",
"formik": "^2.4.5",
"history": "^5.3.0",
"localforage": "^1.10.0",
"react": "^18.2.0",
"react-apexcharts": "^1.4.1",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-redux": "^8.1.2",
"react-router-dom": "^6.15.0",
"react-scripts": "^5.0.1",
"react-toastify": "^10.0.5",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.4",
"redux-persist": "^6.0.0",
"web-vitals": "^2.1.0",
"yup": "^1.3.3"
},
"scripts": {
"start": "env-cmd -f .env react-scripts start",
"prod": "env-cmd -f .env react-scripts --max_old_space_size=4096 start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"format": "prettier --write \"src/**/*.+(js|jsx|json|yml|yaml|css|md)\"",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"precommit": "lint-staged",
"prepare": "husky",
"coverage": "react-scripts test --coverage --watchAll",
"test-sonar": "react-scripts test --watchAll=false --coverage --testResultsProcessor jest-sonar-reporter",
"sonar": "node sonarqube-scanner.js"
},
"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:fix",
"yarn format",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@babel/core": "^7.23.9",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"eslint": "^8.50.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"jest-sonar-reporter": "^2.0.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"sonarqube-scanner": "^3.3.0"
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!(axios)/)"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}