|
70 | 70 | }
|
71 | 71 | },
|
72 | 72 | "peerDependencies": {
|
73 |
| - "react": ">=16.8.0", |
74 |
| - "react-dom": ">=16.8.0" |
| 73 | + "react": "^16.8.0", |
| 74 | + "react-dom": "^16.8.0" |
| 75 | + }, |
| 76 | + "dependencies": { |
| 77 | + "@babel/runtime": "^7", |
| 78 | + "prop-types": "^15.7.2" |
75 | 79 | },
|
76 | 80 | "devDependencies": {
|
77 | 81 | "@babel/core": "^7.7.7",
|
|
83 | 87 | "@babel/preset-typescript": "^7.7.7",
|
84 | 88 | "@commitlint/cli": "^8.2.0",
|
85 | 89 | "@commitlint/config-conventional": "^8.2.0",
|
86 |
| - "@testing-library/jest-dom": "^4.2.4", |
87 |
| - "@testing-library/react": "^9.4.0", |
88 |
| - "@types/jest": "^24.0.25", |
89 |
| - "@types/react": "^16.8.0", |
| 90 | + "@testing-library/jest-dom": "^5.16.4", |
| 91 | + "@testing-library/react": "^12.1.4", |
| 92 | + "@testing-library/user-event": "^13.5.0", |
| 93 | + "@types/jest": "^27.4.1", |
| 94 | + "@types/node": "^16.11.26", |
90 | 95 | "@types/react-dom": "^16.8.0",
|
91 |
| - "@types/testing-library__react": "^9.1.2", |
| 96 | + "@types/react": "^16.8.0", |
92 | 97 | "@typescript-eslint/parser": "^1.9.0",
|
93 | 98 | "@umijs/fabric": "^1.2.12",
|
94 | 99 | "babel-plugin-import": "^1.13.3",
|
|
99 | 104 | "doctoc": "^1.4.0",
|
100 | 105 | "dumi": "^1.0.13",
|
101 | 106 | "gh-pages": "^3.2.3",
|
102 |
| - "gulp": "^4.0.2", |
103 | 107 | "gulp-autoprefixer": "^7.0.1",
|
104 | 108 | "gulp-babel": "^8.0.0",
|
105 | 109 | "gulp-cssnano": "^2.1.3",
|
106 | 110 | "gulp-less": "^4.0.1",
|
| 111 | + "gulp": "^4.0.2", |
107 | 112 | "husky": "^3.1.0",
|
108 | 113 | "identity-obj-proxy": "^3.0.0",
|
109 | 114 | "jest": "^24.9.0",
|
110 | 115 | "less": "^3.10.3",
|
111 | 116 | "lint-staged": "^9.5.0",
|
112 | 117 | "np": "^7.5.0",
|
113 | 118 | "plop": "^2.6.0",
|
114 |
| - "prettier": "^1.19.1", |
115 |
| - "react": "^16.8.0", |
| 119 | + "prettier": "^2", |
116 | 120 | "react-dom": "^16.8.0",
|
| 121 | + "react": "^16.8.0", |
117 | 122 | "rimraf": "^3.0.0",
|
118 |
| - "serve": "^12.0.0", |
| 123 | + "serve": "^13", |
119 | 124 | "snapshot-diff": "^0.6.1",
|
120 | 125 | "through2": "^3.0.1",
|
121 | 126 | "ts-jest": "^24.2.0",
|
122 | 127 | "ts-node": "^8.10.1",
|
123 |
| - "typescript": "^3.7.3" |
124 |
| - }, |
125 |
| - "dependencies": { |
126 |
| - "@babel/runtime": "^7.7.7", |
127 |
| - "prop-types": "^15.7.2" |
128 |
| - }, |
129 |
| - "resolutions": { |
130 |
| - "@types/react": "16.14.10", |
131 |
| - "@types/react-dom": "16.9.13" |
| 128 | + "typescript": "^4" |
132 | 129 | }
|
133 | 130 | }
|
0 commit comments