Move helper modules into their own repos.

pull/18/head
Alex Kern 11 years ago
parent 31adc45333
commit 19ec567632

2
.gitignore vendored

@ -23,8 +23,6 @@ build/Release
# Commenting this out is preferred by some people, see # Commenting this out is preferred by some people, see
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules/* node_modules/*
!node_modules/filepizza-peer
!node_modules/filepizza-socket
# Users Environment Variables # Users Environment Variables
.lock-wscript .lock-wscript

@ -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 = {}

@ -24,8 +24,8 @@
"browserify-middleware": "^5.0.2", "browserify-middleware": "^5.0.2",
"classnames": "^1.2.0", "classnames": "^1.2.0",
"express": "^4.12.0", "express": "^4.12.0",
"filepizza-peer": "./node_modules/filepizza-peer", "filepizza-peer": "^1.0.0",
"filepizza-socket": "./node_modules/filepizza-socket", "filepizza-socket": "^1.0.0",
"morgan": "^1.5.2", "morgan": "^1.5.2",
"nib": "^1.1.0", "nib": "^1.1.0",
"node-uuid": "^1.4.3", "node-uuid": "^1.4.3",

Loading…
Cancel
Save