From 98c764ceec2f42e08040f5a960a770b661d3282a Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Wed, 22 Mar 2023 14:23:38 +0100 Subject: [PATCH] fix(payments-plugin): Make peer dependencies optional --- packages/payments-plugin/package.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/payments-plugin/package.json b/packages/payments-plugin/package.json index dfc709d227..6c70ce5dc2 100644 --- a/packages/payments-plugin/package.json +++ b/packages/payments-plugin/package.json @@ -27,6 +27,17 @@ "braintree": "3.x", "stripe": "8.x" }, + "peerDependenciesMeta": { + "@mollie/api-client": { + "optional": true + }, + "braintree": { + "optional": true + }, + "stripe": { + "optional": true + } + }, "devDependencies": { "@mollie/api-client": "^3.6.0", "@types/braintree": "^2.22.15",