Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ node_modules

# Aegir builds
dist
lib
24 changes: 18 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
sudo: false
language: node_js
node_js:
- 4
- 5
matrix:
include:
- node_js: 4
env: CXX=g++-4.8
- node_js: 6
env:
- SAUCE=true
- CXX=g++-4.8
- node_js: stable
env: CXX=g++-4.8

# Make sure we have new NPM.
before_install:
Expand All @@ -13,12 +20,17 @@ script:
- npm test
- npm run coverage

addons:
firefox: 'latest'

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

after_success:
- npm run coverage-publish

addons:
firefox: 'latest'
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
js-libp2p-webrtc-star
=====================
# js-libp2p-webrtc-star

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Build Status](https://travis-ci.org/libp2p/js-libp2p-webrtc-star.svg?style=flat-square)](https://travis-ci.org/libp2p/js-libp2p-webrtc-star)
![](https://img.shields.io/badge/coverage-%3F-yellow.svg?style=flat-square)
[![Dependency Status](https://david-dm.org/libp2p/js-libp2p-webrtc-star.svg?style=flat-square)](https://david-dm.org/libp2p/js-libp2p-webrtc-star)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square)
![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square)

[![Sauce Test Status](https://saucelabs.com/browser-matrix/js-libp2p-webrtc-star.svg)](https://saucelabs.com/
u/js-libp2p-webrtc-star)

![](https://raw.githubusercontent.com/libp2p/interface-connection/master/img/badge.png)
![](https://raw.githubusercontent.com/libp2p/interface-transport/master/img/badge.png)
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "libp2p-webrtc-star",
"version": "0.4.5",
"description": "libp2p WebRTC transport that includes a discovery mechanism provided by the signalling-star",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"main": "src/index.js",
"bin": {
"star-sig": "src/signalling-server/bin.js"
},
Expand Down Expand Up @@ -38,14 +37,15 @@
},
"homepage": "https://github.com/libp2p/js-libp2p-webrtc-star#readme",
"devDependencies": {
"aegir": "^8.0.1",
"aegir": "^9.0.1",
"bl": "^1.1.2",
"chai": "^3.5.0",
"gulp": "^3.9.1",
"pre-commit": "^1.1.3",
"run-series": "^1.1.4",
"webrtcsupport": "^2.2.0"
},
"dependencies": {
"async": "^2.1.2",
"debug": "^2.2.0",
"hapi": "^15.0.3",
"interface-connection": "^0.2.1",
Expand All @@ -54,7 +54,6 @@
"peer-id": "^0.7.0",
"peer-info": "^0.7.0",
"pull-stream": "^3.4.3",
"run-parallel": "^1.1.6",
"simple-peer": "^6.0.4",
"socket.io": "^1.4.6",
"socket.io-client": "^1.4.6",
Expand All @@ -67,4 +66,4 @@
"greenkeeperio-bot <[email protected]>",
"interfect <[email protected]>"
]
}
}
2 changes: 1 addition & 1 deletion test/signalling-server/test-signalling-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const expect = require('chai').expect
const io = require('socket.io-client')
const parallel = require('run-parallel')
const parallel = require('async/parallel')
const multiaddr = require('multiaddr')

const sigServer = require('../../src/signalling-server')
Expand Down
2 changes: 1 addition & 1 deletion test/webrtc-star/test-dial.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

const expect = require('chai').expect
const multiaddr = require('multiaddr')
const series = require('run-series')
const series = require('async/series')
const pull = require('pull-stream')

const WebRTCStar = require('../../src/webrtc-star')
Expand Down
2 changes: 1 addition & 1 deletion test/webrtc-star/test-valid-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const expect = require('chai').expect
const multiaddr = require('multiaddr')
const series = require('run-series')
const series = require('async/series')
const pull = require('pull-stream')

const WebRTCStar = require('../../src/webrtc-star')
Expand Down