|
3 | 3 | "author": "Raice Hannay <[email protected]>", |
4 | 4 | "description": "A set of classes to make setting up React components for unit tests easy.", |
5 | 5 | "license": "ISC", |
6 | | - "version": "3.0.4", |
| 6 | + "version": "3.0.5", |
7 | 7 | "keywords": [ |
8 | 8 | "component", |
9 | 9 | "enzyme", |
|
31 | 31 | "lint": "eslint \"./src/**/*.ts?(x)\"", |
32 | 32 | "lint:fix": "eslint \"./src/**/*.ts?(x)\" --fix", |
33 | 33 | "test": "cross-env NODE_ENV=test jest --no-cache --runInBand --config ./jest.config.js", |
34 | | - "test:all": "npm-run-all format typecheck lint:fix test:coverage", |
| 34 | + "test:all": "npm-run-all clean format typecheck lint:fix test:coverage", |
35 | 35 | "test:coverage": "cross-env NODE_ENV=test jest --no-cache --runInBand --coverage --config ./jest.config.js", |
36 | | - "typecheck": "tsc", |
37 | | - "prepack": "rimraf ./enzyme && rimraf ./react-testing-library && tsc" |
| 36 | + "typecheck": "tsc --noEmit", |
| 37 | + "clean": "rimraf ./enzyme && rimraf ./react-testing-library", |
| 38 | + "prepack": "yarn clean && tsc" |
38 | 39 | }, |
39 | 40 | "repository": { |
40 | 41 | "type": "git", |
|
47 | 48 | "types": "dist/index.d.ts", |
48 | 49 | "peerDependencies": { |
49 | 50 | "@testing-library/react": ">= 12.0.0", |
| 51 | + "@types/react": "^17.0.14", |
50 | 52 | "enzyme": ">= 3.11.0", |
51 | | - "react": ">= 17.0.2", |
| 53 | + "react": "~17.0.2", |
52 | 54 | "react-intl": ">= 5.17.5", |
53 | 55 | "react-redux": ">= 7.2.4", |
54 | 56 | "redux": ">= 4.1.0" |
|
72 | 74 | }, |
73 | 75 | "devDependencies": { |
74 | 76 | "@testing-library/react": "^12.0.0", |
75 | | - "@types/enzyme": "^3.10.9", |
76 | | - "@types/jest": "^26.0.24", |
| 77 | + "@types/enzyme": "^3.10.12", |
| 78 | + "@types/jest": "^29.0.2", |
77 | 79 | "@types/react": "^17.0.14", |
78 | | - "@types/react-redux": "^7.1.17", |
79 | | - "@typescript-eslint/eslint-plugin": "^4.28.2", |
80 | | - "@typescript-eslint/parser": "^4.28.2", |
81 | | - "@wojtekmaj/enzyme-adapter-react-17": "^0.6.2", |
| 80 | + "@types/react-redux": "^7.1.24", |
| 81 | + "@typescript-eslint/eslint-plugin": "^5.37.0", |
| 82 | + "@typescript-eslint/parser": "^5.37.0", |
| 83 | + "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7", |
82 | 84 | "cross-env": "^7.0.3", |
83 | 85 | "enzyme": "^3.11.0", |
84 | 86 | "enzyme-to-json": "^3.6.2", |
85 | | - "eslint": "^7.30.0", |
86 | | - "eslint-config-voodoocreation": "^2.0.1", |
87 | | - "eslint-plugin-import": "^2.23.4", |
88 | | - "eslint-plugin-jest": "^24.3.6", |
89 | | - "eslint-plugin-jsx-a11y": "^6.4.1", |
| 87 | + "eslint": "^8.23.1", |
| 88 | + "eslint-config-voodoocreation": "^3.0.2", |
| 89 | + "eslint-plugin-import": "^2.26.0", |
| 90 | + "eslint-plugin-jest": "^27.0.4", |
| 91 | + "eslint-plugin-jsx-a11y": "^6.6.1", |
90 | 92 | "eslint-plugin-prefer-arrow": "^1.2.3", |
91 | | - "eslint-plugin-react": "^7.24.0", |
92 | | - "eslint-plugin-react-hooks": "^4.2.0", |
93 | | - "jest": "^27.0.6", |
| 93 | + "eslint-plugin-react": "^7.31.8", |
| 94 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 95 | + "jest": "^29.0.3", |
| 96 | + "jest-environment-jsdom": "^29.0.3", |
94 | 97 | "npm-run-all": "^4.1.5", |
95 | | - "prettier": "^2.3.2", |
| 98 | + "prettier": "^2.7.1", |
96 | 99 | "react": "^17.0.2", |
97 | 100 | "react-dom": "^17.0.2", |
98 | | - "react-intl": "^5.20.4", |
99 | | - "react-redux": "^7.2.4", |
100 | | - "redux": "^4.1.0", |
| 101 | + "react-intl": "^6.1.1", |
| 102 | + "react-redux": "^8.0.2", |
| 103 | + "redux": "^4.2.0", |
101 | 104 | "rimraf": "^3.0.2", |
102 | | - "ts-jest": "^27.0.3", |
103 | | - "typescript": "^4.3.5", |
| 105 | + "ts-jest": "^29.0.1", |
| 106 | + "typescript": "^4.8.3", |
104 | 107 | "typescript-fsa": "^3.0.0", |
105 | 108 | "typescript-fsa-reducers": "^1.2.2" |
106 | 109 | }, |
107 | 110 | "dependencies": { |
108 | | - "ts-deepmerge": "^1.0.8" |
| 111 | + "ts-deepmerge": "^4.0.0" |
| 112 | + }, |
| 113 | + "resolutions": { |
| 114 | + "@types/react": "^17", |
| 115 | + "react": "^17", |
| 116 | + "react-dom": "^17" |
109 | 117 | } |
110 | 118 | } |
0 commit comments