This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
68 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "4.0" | ||
- '4' | ||
- '5' | ||
- stable | ||
|
||
# Make sure we have new NPM. | ||
# always use npm latest | ||
before_install: | ||
- npm install -g npm | ||
|
||
script: | ||
- npm run lint | ||
- npm test | ||
- npm i -g npm | ||
|
||
addons: | ||
firefox: 'latest' | ||
|
||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
|
||
script: | ||
- npm run lint | ||
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
machine: | ||
node: | ||
version: stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,15 @@ | |
"name": "libp2p-spdy", | ||
"version": "0.3.0", | ||
"description": "SPDY 3.1 implementation wrapper that is compatible with libp2p Stream Muxer expected interface", | ||
"main": "src/index.js", | ||
"main": "lib/index.js", | ||
"jsnext:main": "src/index.js", | ||
"scripts": { | ||
"lint": "standard", | ||
"test:node": "mocha tests/*-test.js", | ||
"test:browser": "node tests/browser-nodejs/test.js", | ||
"test": "npm run test:node && npm run test:browser", | ||
"compliance": "node tests/compliance.js" | ||
"test": "dignified-test node", | ||
"compliance": "node test/compliance.js", | ||
"lint": "dignified-lint", | ||
"release": "dignified-release node", | ||
"release-minor": "dignified-release node --minor", | ||
"release-major": "dignified-release node --major" | ||
}, | ||
"pre-commit": [ | ||
"lint", | ||
|
@@ -24,12 +26,13 @@ | |
"author": "David Dias <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/diasdavid/njs-libp2p-spdy/issues" | ||
"url": "https://github.com/diasdavid/js-libp2p-spdy/issues" | ||
}, | ||
"homepage": "https://github.com/diasdavid/js-libp2p-spdy", | ||
"devDependencies": { | ||
"bl": "^1.1.2", | ||
"chai": "^3.5.0", | ||
"dignified.js": "^1.0.1", | ||
"interface-stream-muxer": "^0.3.1", | ||
"karma": "^0.13.22", | ||
"karma-chrome-launcher": "^0.2.2", | ||
|
@@ -39,15 +42,11 @@ | |
"karma-webpack": "^1.7.0", | ||
"libp2p-websockets": "^0.2.1", | ||
"pre-commit": "^1.1.2", | ||
"standard": "^6.0.7", | ||
"stream-pair": "^1.0.3", | ||
"tape": "^4.2.0", | ||
"timed-tape": "^0.1.0", | ||
"webpack": "^2.1.0-beta.4" | ||
"tape": "^4.2.0" | ||
}, | ||
"dependencies": { | ||
"browserify-zlib": "github:ipfs/browserify-zlib", | ||
"mocha": "^2.4.5", | ||
"spdy-transport": "^2.0.10" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
'use strict' | ||
|
||
const tape = require('tape') | ||
const tests = require('interface-stream-muxer') | ||
const spdy = require('./../src') | ||
|
||
const common = { | ||
setup: (t, cb) => cb(null, spdy), | ||
teardown: (t, cb) => cb() | ||
} | ||
|
||
tests(tape, common) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
'use strict' | ||
/* eslint-env mocha */ | ||
|
||
const expect = require('chai').expect | ||
|
This file was deleted.
Oops, something went wrong.