Skip to content

Commit f61c044

Browse files
ccopeamishshah
authored andcommitted
Mark peer dependencies as optional (#3066)
1 parent 45a17e7 commit f61c044

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@
4848
"sodium": "^2.0.3",
4949
"@discordjs/uws": "^10.149.0"
5050
},
51+
"peerDependenciesMeta": {
52+
"bufferutil": {
53+
"optional": true
54+
},
55+
"erlpack": {
56+
"optional": true
57+
},
58+
"node-opus": {
59+
"optional": true
60+
},
61+
"opusscript": {
62+
"optional": true
63+
},
64+
"sodium": {
65+
"optional": true
66+
},
67+
"libsodium-wrappers": {
68+
"optional": true
69+
},
70+
"uws": {
71+
"optional": true
72+
}
73+
},
5174
"devDependencies": {
5275
"@types/node": "^9.4.6",
5376
"discord.js-docgen": "discordjs/docgen",

0 commit comments

Comments
 (0)