From 208d96f4e673821b74e079c0455d16b1205efb8d Mon Sep 17 00:00:00 2001 From: Cam Cope Date: Thu, 7 Feb 2019 16:50:02 -0800 Subject: [PATCH] Mark peer dependencies as optional --- package.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/package.json b/package.json index 5df8664010e7..65c3987cc98e 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,29 @@ "libsodium-wrappers": "^0.7.3", "uws": "^9.14.0" }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "erlpack": { + "optional": true + }, + "node-opus": { + "optional": true + }, + "opusscript": { + "optional": true + }, + "sodium": { + "optional": true + }, + "libsodium-wrappers": { + "optional": true + }, + "uws": { + "optional": true + } + }, "devDependencies": { "@types/node": "^9.4.6", "discord.js-docgen": "discordjs/docgen",