-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.27 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.27 KB
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
{
"name": "jmm-id-au",
"version": "0.1.0",
"private": true,
"dependencies": {
"@babel/eslint-parser": "^7.25.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"airbnb": "^0.0.2",
"bootstrap": "^5.3.3",
"camelcase-keys": "^8.0.2",
"chart.js": "^4.4.8",
"eslint-config-airbnb": "^19.0.4",
"node-fetch": "^2.6.1",
"react": "^18.3.1",
"react-bootstrap": "^2.10.4",
"react-chartjs-2": "^5.3.0",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.1",
"react-scripts": "5.0.1",
"socket.io-client": "^4.8.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start && npm t --runInBand",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"coverage": "npm test -- --coverage --watchAll=false && open ./coverage/lcov-report/index.html",
"test:ci": "react-scripts test --watchAll=false",
"prepare": "husky"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.35.2",
"globals": "^15.9.0",
"husky": "^9.1.6"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/index.js",
"!src/helpers/react/render/mountUI/index.js",
"!src/helpers/navigation/routing/index.js",
"!src/serviceWorker.js",
"!src/reportWebVitals.js",
"!src/content/**",
"!src/config/**/*.js",
"!**/node_modules/**",
"!**/vendor/**"
],
"transform": {
"^.+\\.(js|jsx)$": "babel-jest"
}
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test",
"pre-push": "npm run lint && npm test"
}
}
}