|
48 | 48 | "now-build": "npm run docs:build",
|
49 | 49 | "prepare": "husky"
|
50 | 50 | },
|
51 |
| - "peerDependencies": { |
52 |
| - "react": ">=16.9.0", |
53 |
| - "react-dom": ">=16.9.0" |
54 |
| - }, |
55 | 51 | "dependencies": {
|
56 | 52 | "@rc-component/context": "^1.4.0",
|
| 53 | + "@rc-component/resize-observer": "^1.0.0", |
57 | 54 | "@rc-component/util": "^1.1.0",
|
58 | 55 | "classnames": "^2.2.5",
|
59 |
| - "@rc-component/resize-observer": "^1.0.0", |
60 | 56 | "rc-virtual-list": "^3.14.2"
|
61 | 57 | },
|
62 | 58 | "devDependencies": {
|
63 | 59 | "@rc-component/father-plugin": "^2.0.1",
|
64 | 60 | "@rc-component/np": "^1.0.3",
|
| 61 | + "@testing-library/dom": "^10.4.1", |
65 | 62 | "@testing-library/jest-dom": "^6.4.0",
|
66 |
| - "@testing-library/react": "^12.1.5", |
| 63 | + "@testing-library/react": "^16.3.0", |
67 | 64 | "@types/jest": "^30.0.0",
|
68 |
| - "@types/react": "^18.0.28", |
69 |
| - "@types/react-dom": "^19.0.4", |
| 65 | + "@types/node": "^24.4.0", |
| 66 | + "@types/react": "^19.1.13", |
| 67 | + "@types/react-dom": "^19.1.9", |
70 | 68 | "@types/responselike": "^1.0.0",
|
71 | 69 | "@types/styled-components": "^5.1.32",
|
72 | 70 | "@umijs/fabric": "^4.0.1",
|
|
88 | 86 | "rc-dropdown": "~4.0.1",
|
89 | 87 | "rc-menu": "~9.16.1",
|
90 | 88 | "rc-tooltip": "^6.2.0",
|
91 |
| - "react": "^16.0.0", |
| 89 | + "react": "^19.1.1", |
92 | 90 | "react-dnd": "^2.5.4",
|
93 | 91 | "react-dnd-html5-backend": "^2.5.4",
|
94 |
| - "react-dom": "^16.0.0", |
| 92 | + "react-dom": "^19.1.1", |
95 | 93 | "react-resizable": "^3.0.5",
|
96 | 94 | "react-virtualized": "^9.12.0",
|
97 | 95 | "react-window": "^1.8.5",
|
|
100 | 98 | "typescript": "~5.9.2",
|
101 | 99 | "vitest": "^3.2.4"
|
102 | 100 | },
|
| 101 | + "peerDependencies": { |
| 102 | + "react": ">=18.0.0", |
| 103 | + "react-dom": ">=18.0.0" |
| 104 | + }, |
103 | 105 | "lint-staged": {
|
104 | 106 | "**/*.{js,jsx,tsx,ts,md,json}": [
|
105 | 107 | "prettier --write"
|
|
0 commit comments