Skip to content

Commit 7cb9d92

Browse files
committed
chore: use dependencies instead of peerDependencies for non-react
1 parent 5c5fd1d commit 7cb9d92

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
},
3737
"homepage": "https://github.com/ReactTooltip/react-tooltip#readme",
3838
"devDependencies": {
39-
"@floating-ui/dom": "^1.0.0",
4039
"@rollup/plugin-commonjs": "22.0.2",
4140
"@rollup/plugin-node-resolve": "14.1.0",
4241
"@rollup/plugin-replace": "4.0.0",
@@ -53,7 +52,6 @@
5352
"@typescript-eslint/eslint-plugin": "5.54.0",
5453
"@typescript-eslint/parser": "5.54.0",
5554
"bundlesize": "^0.18.1",
56-
"classnames": "^2.3.0",
5755
"css-loader": "6.7.3",
5856
"esbuild": "0.17.11",
5957
"esbuild-css-modules-plugin": "^2.7.1",
@@ -73,8 +71,8 @@
7371
"postcss": "8.4.21",
7472
"prettier": "2.8.4",
7573
"process": "^0.11.10",
76-
"react": "16.14.0",
77-
"react-dom": "16.14.0",
74+
"react": ">=16.14.0",
75+
"react-dom": ">=16.14.0",
7876
"rimraf": "^3.0.2",
7977
"rollup": "2.79.1",
8078
"rollup-plugin-analyzer": "^4.0.0",
@@ -96,9 +94,11 @@
9694
"ts-node": "^10.9.1",
9795
"typescript": "4.9.5"
9896
},
99-
"peerDependencies": {
97+
"dependencies": {
10098
"@floating-ui/dom": "^1.0.0",
101-
"classnames": "^2.3.0",
99+
"classnames": "^2.3.0"
100+
},
101+
"peerDependencies": {
102102
"react": ">=16.14.0",
103103
"react-dom": ">=16.14.0"
104104
},

0 commit comments

Comments
 (0)