Rename peercalls to peer-calls

This commit is contained in:
Jerko Steiner 2016-03-31 18:40:47 -04:00
parent 45158bd7d8
commit 51b110448e
8 changed files with 9 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
*.swp
*.swo
dist/
node_modules/
config.js
coverage/

View File

@ -1,5 +1,5 @@
{
"name": "peercalls",
"name": "peer-calls",
"version": "1.3.2",
"description": "Group peer to peer video calls for anybody.",
"repository": "https://github.com/jeremija/peer-calls",

View File

@ -1,7 +1,7 @@
#!/usr/bin/env node
'use strict';
if (!process.env.DEBUG) {
process.env.DEBUG = 'peercalls:*';
process.env.DEBUG = 'peer-calls:*';
}
const express = require('express');

View File

@ -1,13 +1,13 @@
'use strict';
if (window.localStorage && !window.localStorage.debug) {
window.localStorage.debug = 'peercalls:*';
window.localStorage.debug = 'peer-calls:*';
}
const App = require('./components/app.js');
const React = require('react');
const ReactDom = require('react-dom');
const activeStore = require('./store/activeStore.js');
const debug = require('debug')('peercalls:index');
const debug = require('debug')('peer-calls:index');
const dispatcher = require('./dispatcher/dispatcher.js');
const getUserMedia = require('./browser/getUserMedia.js');
const handshake = require('./peer/handshake.js');

View File

@ -1,6 +1,6 @@
'use strict';
const Peer = require('./Peer.js');
const debug = require('debug')('peercalls:peer');
const debug = require('debug')('peer-calls:peer');
const dispatcher = require('../dispatcher/dispatcher.js');
const _ = require('underscore');

View File

@ -1,6 +1,6 @@
'use strict';
const EventEmitter = require('events');
const debug = require('debug')('peercalls:activeStore');
const debug = require('debug')('peer-calls:activeStore');
const dispatcher = require('../dispatcher/dispatcher.js');
const emitter = new EventEmitter();

View File

@ -1,6 +1,6 @@
'use strict';
const EventEmitter = require('events');
const debug = require('debug')('peercalls:streamStore');
const debug = require('debug')('peer-calls:streamStore');
const dispatcher = require('../dispatcher/dispatcher.js');
const emitter = new EventEmitter();

View File

@ -1,5 +1,5 @@
'use strict';
const debug = require('debug')('peercalls:socket');
const debug = require('debug')('peer-calls:socket');
const _ = require('underscore');
module.exports = function(socket, io) {