Skip to content

Commit 0e587ac

Browse files
authored
Make react and preact peerDependencies both optional to avoid npm warnings
1 parent 04620c6 commit 0e587ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"strip-json-comments-cli": "^1.0.1"
107107
},
108108
"peerDependencies": {
109-
"preact": "*",
110-
"react": "*"
109+
"preact": "optional:*",
110+
"react": "optional:*"
111111
}
112112
}

0 commit comments

Comments
 (0)