Skip to content

Commit c7f69af

Browse files
authored
Merge pull request #140 from developit/optional-peer-deps
Make react and preact peerDependencies both optional
2 parents 04620c6 + 0e587ac commit c7f69af

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)