fix: Make Skia and Worklets optional in package.json (#1728)

Co-authored-by: Rocket13011 <1051575+rocket13011@users.noreply.github.com>
This commit is contained in:
Rocket13011 2023-08-29 17:53:00 +02:00 committed by GitHub
parent ea3686cb9a
commit 3b0475752d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,6 +96,14 @@
"react-native": "*", "react-native": "*",
"react-native-worklets-core": "*" "react-native-worklets-core": "*"
}, },
"peerDependenciesMeta": {
"@shopify/react-native-skia": {
"optional": true
},
"react-native-worklets-core": {
"optional": true
}
},
"prettier": { "prettier": {
"bracketSpacing": true, "bracketSpacing": true,
"bracketSameLine": true, "bracketSameLine": true,