mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Make tweetnacl an optional dependency, fixes #244
This commit is contained in:
@@ -26,7 +26,6 @@
|
|||||||
"homepage": "https://github.com/hydrabolt/discord.js#readme",
|
"homepage": "https://github.com/hydrabolt/discord.js#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "^1.8.0",
|
"superagent": "^1.8.0",
|
||||||
"tweetnacl": "^0.14.1",
|
|
||||||
"unpipe": "^1.0.0",
|
"unpipe": "^1.0.0",
|
||||||
"ws": "^1.0.1"
|
"ws": "^1.0.1"
|
||||||
},
|
},
|
||||||
@@ -41,7 +40,8 @@
|
|||||||
"mocha": "^2.4.5"
|
"mocha": "^2.4.5"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"node-opus": "^0.1.12"
|
"node-opus": "^0.1.12",
|
||||||
|
"tweetnacl": "^0.14.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.12.7"
|
"node": ">=0.12.7"
|
||||||
|
|||||||
Reference in New Issue
Block a user