Make uws a peer dep, and readd ws (#928)

* Make uws a peer dep, and readd ws

* if -> else if
This commit is contained in:
Hackzzila
2016-11-27 13:59:50 -06:00
committed by Amish Shah
parent b85a589a01
commit 6afd80cf53
3 changed files with 24 additions and 4 deletions

View File

@@ -34,11 +34,12 @@
"pako": "^1.0.3",
"superagent": "^3.0.0",
"tweetnacl": "^0.14.3",
"uws": "^0.11.1"
"ws": "^1.1.1"
},
"peerDependencies": {
"node-opus": "^0.2.0",
"opusscript": "^0.0.1"
"opusscript": "^0.0.1",
"uws": "^0.11.1"
},
"devDependencies": {
"bufferutil": "^1.2.1",
@@ -55,6 +56,7 @@
"node": ">=6.0.0"
},
"browser": {
"ws": false,
"uws": false,
"opusscript": false,
"node-opus": false,