mirror of https://github.com/kern/filepizza
Move helper modules into their own repos.
parent
31adc45333
commit
19ec567632
@ -1,7 +0,0 @@
|
||||
# filepizza-peer
|
||||
|
||||
Isomorphic helper module for FilePizza's PeerJS.
|
||||
|
||||
## License
|
||||
|
||||
BSD
|
||||
@ -1,31 +0,0 @@
|
||||
var Peer = require('peerjs')
|
||||
var uuid = require('node-uuid')
|
||||
|
||||
var id = uuid.v4()
|
||||
|
||||
module.exports = new Peer(id, {
|
||||
host: window.location.hostname,
|
||||
port: window.location.port,
|
||||
path: '/peer',
|
||||
config: {
|
||||
iceServers: [{
|
||||
'url': 'stun:stun.l.google.com:19302'
|
||||
}, {
|
||||
'url': 'turn:52.12.205.113:3478?transport=udp',
|
||||
'username': 'file',
|
||||
'credential': 'pizza'
|
||||
}, {
|
||||
'url': 'turn:52.12.205.113:80?transport=udp',
|
||||
'username': 'file',
|
||||
'credential': 'pizza'
|
||||
}, {
|
||||
'url': 'turn:52.12.205.113:3478?transport=tcp',
|
||||
'username': 'file',
|
||||
'credential': 'pizza'
|
||||
}, {
|
||||
'url': 'turn:52.12.205.113:80?transport=tcp',
|
||||
'username': 'file',
|
||||
'credential': 'pizza'
|
||||
}]
|
||||
}
|
||||
})
|
||||
@ -1,17 +0,0 @@
|
||||
{
|
||||
"name": "filepizza-peer",
|
||||
"version": "1.0.0",
|
||||
"description": "Isomorphic helper module for FilePizza's PeerJS.",
|
||||
"main": "server.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:kern/filepizza-peer.git"
|
||||
},
|
||||
"browser": "client.js",
|
||||
"author": "Alex Kern <alex@kern.io> (http://kern.io)",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"peerjs": "^0.3.14",
|
||||
"node-uuid": "^1.4.3"
|
||||
}
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
var uuid = require('node-uuid')
|
||||
|
||||
var id = uuid.v4()
|
||||
|
||||
module.exports = { id: id }
|
||||
@ -1,7 +0,0 @@
|
||||
# filepizza-socket
|
||||
|
||||
Isomorphic helper module for FilePizza's SocketIO.
|
||||
|
||||
## License
|
||||
|
||||
BSD
|
||||
@ -1,2 +0,0 @@
|
||||
var io = require('socket.io-client')
|
||||
module.exports = io.connect()
|
||||
@ -1,16 +0,0 @@
|
||||
{
|
||||
"name": "filepizza-socket",
|
||||
"version": "1.0.0",
|
||||
"description": "Isomorphic helper module for FilePizza's SocketIO.",
|
||||
"main": "server.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:kern/filepizza-socket.git"
|
||||
},
|
||||
"browser": "client.js",
|
||||
"author": "Alex Kern <alex@kern.io> (http://kern.io)",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"socket.io-client": "^1.3.5"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
module.exports = {}
|
||||
Loading…
Reference in New Issue