Skip to content

🎥 Make videos programmatically with React

make lottie a peer dependency

Jonny Burger24979201b9b9
diff --git a/packages/lottie/package.json b/packages/lottie/package.json
index 71f045a875..dc026c8f4c 100644
--- a/packages/lottie/package.json
+++ b/packages/lottie/package.json
@@ -28,12 +28,12 @@
],
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
- "lottie-web": "5.9.6",
"remotion": "3.1.11"
},
"peerDependencies": {
"react": ">=16.8.0",
- "react-dom": ">=16.8.0"
+ "react-dom": ">=16.8.0",
+ "lottie-web": ">=5"
},
"devDependencies": {
"@jonny/eslint-config": "3.0.266",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6b91ea30c9..092e13bd3a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -583,7 +583,7 @@ importers:
'@types/react': 18.0.1
'@types/react-dom': 18.0.0
eslint: 8.13.0
- lottie-web: 5.9.6
+ lottie-web: '>=5'
prettier: ^2.0.5
prettier-plugin-organize-imports: ^2.3.4
react: ^18.0.0