mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 19:50:55 +00:00
Make tweetnacl an optional dependency, fixes #244
This commit is contained in:
parent
8e6427963b
commit
c5732efdb1
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue