-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.96 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
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.11.12",
"@mui/x-data-grid": "^6.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/react-dom": "^18.0.0",
"axios": "^1.3.4",
"draft-js": "^0.11.7",
"firebase": "^9.17.2",
"firebase-tools": "10.9.2",
"package.json": "^2.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-draft-wysiwyg": "^1.15.0",
"react-router-dom": "^6.8.1",
"react-scripts": "5.0.1",
"typescript": "^4.4.2",
"uuid": "^9.0.0",
"web-vitals": "^2.1.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --testPathIgnorePatterns=src/__tests__/firestore --watchAll=false",
"test:rules": "firebase emulators:exec \"react-scripts test src/__tests__/firestore/security_rules.test.ts --watchAll=false\"",
"cypress:open": "cypress open --project src/__tests__",
"cypress:run": "cypress run --config video=false,screenshotOnRunFailure=false --project src/__tests__",
"eject": "react-scripts eject",
"eslint": "eslint src --max-warnings=0"
},
"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"
]
},
"devDependencies": {
"@cypress/code-coverage": "^3.10.0",
"@firebase/rules-unit-testing": "^2.0.7",
"@testing-library/cypress": "^9.0.0",
"@testing-library/dom": "^8.20.0",
"@types/react": "^18.0.28",
"@types/react-draft-wysiwyg": "^1.13.4",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"cypress": "^12.7.0",
"eslint": "^8.33.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-security": "^1.7.1",
"file-loader": "^6.2.0",
"jest": "^29.4.1",
"react-test-renderer": "^18.2.0"
},
"jest": {
"coverageThreshold": {
"./src/components/": {
"branches": 80,
"functions": 80,
"lines": 80
}
},
"testMatch": [
"**/__tests__/!(cypress.)*.[jt]s?(x)",
"**/!(cypress.)?(*.)+(spec|test).[tj]s?(x)"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/theme",
"<rootDir>/src/pages",
"<rootDir>/src/__tests__/",
"<rootDir>/src/configs/routes",
"<rootDir>/src/hooks",
"<rootDir>/src/pages",
"<rootDir>/src/firebaseApp.ts",
"<rootDir>/src/components/Routes",
"<rootDir>/src/index.tsx",
"<rootDir>/src/context",
"<rootDir>/src/utils/firebase"
]
}
}