Skip to content

Commit c56d117

Browse files
committed
Set react as an optional peerDependency to enable the parsed object to be used
1 parent 839ee20 commit c56d117

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@
6363
"peerDependencies": {
6464
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
6565
},
66+
"peerDependenciesMeta": {
67+
"react": {
68+
"optional": true
69+
}
70+
},
6671
"dependencies": {
6772
"tsafe": "^1.6.0"
6873
},

0 commit comments

Comments
 (0)