|
4 | 4 | "license": "MIT",
|
5 | 5 | "author": "Alexander Grischuk <[email protected]",
|
6 | 6 | "engines": {
|
7 |
| - "node": ">=10" |
| 7 | + "node": ">=16.0.0 <20.0.0" |
8 | 8 | },
|
9 | 9 | "main": "template.json",
|
10 |
| - "description": "A quick start Create React App template with React Router, Redux, TypeScript, Enzyme and custom ESlint configurations", |
| 10 | + "description": "A quick start Create React App template with React Router, Redux, TypeScript, React Testing Library and custom ESlint configurations", |
11 | 11 | "keywords": [
|
12 | 12 | "react",
|
13 | 13 | "create-react-app",
|
14 | 14 | "cra-template",
|
15 | 15 | "template",
|
16 |
| - "enzyme", |
| 16 | + "react-testing-library", |
17 | 17 | "eslint",
|
18 | 18 | "redux",
|
19 | 19 | "react-redux",
|
|
35 | 35 | "url": "https://github.com/alexandr-g/cra-template-typescript-redux/issues"
|
36 | 36 | },
|
37 | 37 | "dependencies": {
|
38 |
| - "@types/enzyme": "^3.10.4", |
39 |
| - "@types/jest": "^27.0.0", |
| 38 | + "@testing-library/react": "^14.0.0", |
40 | 39 | "@types/node": "^14.0.0",
|
41 |
| - "@types/react": "^17.0.0", |
42 |
| - "@types/react-dom": "^17.0.0", |
43 |
| - "@types/react-redux": "^7.1.5", |
44 |
| - "@types/react-router-dom": "^5.1.3", |
| 40 | + "@types/react": "^18.2.6", |
| 41 | + "@types/react-dom": "^18.2.4", |
| 42 | + "@types/react-router-dom": "^5.3.3", |
45 | 43 | "@types/redux-mock-store": "^1.0.1",
|
46 | 44 | "@typescript-eslint/eslint-plugin": "^5.59.5",
|
47 | 45 | "@typescript-eslint/parser": "5.9.1",
|
48 |
| - "@wojtekmaj/enzyme-adapter-react-17": "^0.6.0", |
49 |
| - "enzyme": "^3.11.0", |
50 | 46 | "eslint": "^8.6.0",
|
51 | 47 | "eslint-config-airbnb-typescript": "^16.1.0",
|
52 | 48 | "eslint-config-prettier": "^8.0.0",
|
|
56 | 52 | "eslint-plugin-react": "^7.21.5",
|
57 | 53 | "eslint-plugin-react-hooks": "^4.0.8",
|
58 | 54 | "prettier": "^2.0.0",
|
59 |
| - "react": "^17.0.0", |
60 |
| - "react-dom": "^17.0.0", |
61 |
| - "react-redux": "^7.1.3", |
62 |
| - "react-router-dom": "^5.1.2", |
63 |
| - "react-scripts": "5.0.0", |
64 |
| - "redux": "^4.0.5", |
| 55 | + "react": "^18.2.0", |
| 56 | + "react-dom": "^18.2.0", |
| 57 | + "react-redux": "^8.0.5", |
| 58 | + "react-router-dom": "^6.11.1", |
| 59 | + "react-scripts": "^5.0.1", |
| 60 | + "redux": "^4.2.1", |
65 | 61 | "redux-devtools-extension": "^2.13.8",
|
66 | 62 | "redux-mock-store": "^1.5.4",
|
67 | 63 | "typescript": "~4.5.0"
|
|
78 | 74 | "lint": "eslint src --ext .js,.jsx,.ts,.tsx",
|
79 | 75 | "fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
|
80 | 76 | "format": "prettier --write src/**/*.{ts,tsx}",
|
81 |
| - "e2e": "cypress run --spec 'cypress/integration/*'" |
| 77 | + "e2e": "cypress run --env device=web" |
82 | 78 | },
|
83 | 79 | "eslintConfig": {
|
84 | 80 | "extends": "react-app"
|
|
110 | 106 | ]
|
111 | 107 | },
|
112 | 108 | "devDependencies": {
|
| 109 | + "@babel/runtime": "^7.21.5", |
113 | 110 | "@semantic-release/changelog": "6.0.1",
|
114 | 111 | "@semantic-release/git": "10.0.1",
|
115 | 112 | "@semantic-release/github": "8.0.2",
|
| 113 | + "@testing-library/jest-dom": "^5.16.5", |
116 | 114 | "codecov": "3.8.3",
|
117 | 115 | "commitizen": "4.2.4",
|
118 |
| - "cypress": "9.4.1", |
| 116 | + "cypress": "^12.12.0", |
119 | 117 | "cz-conventional-changelog": "3.3.0",
|
120 | 118 | "eslint-plugin-cypress": "2.12.1",
|
121 | 119 | "semantic-release": "18.0.1"
|
|
0 commit comments