|
25 | 25 | "react-material-ui-form-validator": "^2.1.1", |
26 | 26 | "react-router-dom": "^5.2.0", |
27 | 27 | "react-scripts": "4.0.3", |
28 | | - "socket.io-client": "^2.3.0", |
29 | | - "typescript": "^3.9.7", |
| 28 | + "socket.io-client": "^2.4.0", |
| 29 | + "typescript": "^4.3.4", |
30 | 30 | "use-image": "^1.0.6" |
31 | 31 | }, |
32 | 32 | "scripts": { |
33 | 33 | "start": "chmod +x ./env.sh && ./env.sh && cp env-config.js ./public/ && react-scripts start", |
34 | 34 | "build": "react-scripts build", |
35 | | - "test": "react-scripts test" |
| 35 | + "test": "react-scripts test", |
| 36 | + "test:cy": "cypress run-ct" |
36 | 37 | }, |
37 | 38 | "eslintConfig": { |
38 | 39 | "extends": "react-app" |
39 | 40 | }, |
40 | | - "browserslist": { |
41 | | - "production": [ |
42 | | - ">0.2%", |
43 | | - "not dead", |
44 | | - "not op_mini all" |
45 | | - ], |
46 | | - "development": [ |
47 | | - "last 1 chrome version", |
48 | | - "last 1 firefox version", |
49 | | - "last 1 safari version" |
50 | | - ] |
51 | | - }, |
| 41 | + "browserslist": [ |
| 42 | + ">0.3%", |
| 43 | + "not ie 11", |
| 44 | + "not dead", |
| 45 | + "not op_mini all" |
| 46 | + ], |
52 | 47 | "husky": { |
53 | 48 | "hooks": { |
54 | 49 | "pre-commit": "lint-staged" |
|
60 | 55 | ] |
61 | 56 | }, |
62 | 57 | "devDependencies": { |
| 58 | + "@cypress/react": "^5.9.1", |
| 59 | + "@cypress/webpack-dev-server": "^1.4.0", |
63 | 60 | "@types/jest": "^26.0.20", |
64 | 61 | "@types/lodash": "^4.14.170", |
65 | 62 | "@types/node": "^15.12.4", |
|
69 | 66 | "@types/react-material-ui-form-validator": "^2.1.0", |
70 | 67 | "@types/react-router-dom": "^5.1.5", |
71 | 68 | "@types/socket.io-client": "^1.4.33", |
72 | | - "@visual-regression-tracker/agent-cypress": "^4.7.3", |
73 | | - "cypress": "^5.6.0", |
74 | | - "cypress-react-unit-test": "^4.17.0" |
| 69 | + "@visual-regression-tracker/agent-cypress": "^5.0.0", |
| 70 | + "cypress": "^7.6.0" |
75 | 71 | } |
76 | 72 | } |
0 commit comments