use adapter to make discord.js optional

This commit is contained in:
MapleLeaf
2021-12-25 20:05:35 -06:00
parent 4cf9049496
commit 6909336cac
18 changed files with 282 additions and 125 deletions

View File

@@ -35,6 +35,11 @@
"discord.js": "^13.3",
"react": ">=17"
},
"peerDependenciesMeta": {
"discord.js": {
"optional": true
}
},
"devDependencies": {
"@itsmapleleaf/configs": "^1.1.2",
"@typescript-eslint/eslint-plugin": "^5.8.0",