Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit 67962a5

Browse files
dmitriy ryajovdmitriy ryajov
dmitriy ryajov
authored and
dmitriy ryajov
committed
adding misc files
1 parent 6495361 commit 67962a5

File tree

6 files changed

+168
-0
lines changed

6 files changed

+168
-0
lines changed

.gitignore

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
18+
.grunt
19+
20+
# node-waf configuration
21+
.lock-wscript
22+
23+
# Compiled binary addons (http://nodejs.org/api/addons.html)
24+
build/Release
25+
26+
# Dependency directory
27+
node_modules
28+
29+
# Optional npm cache directory
30+
.npm
31+
32+
# Optional REPL history
33+
.node_repl_history
34+
35+
# Vim editor swap files
36+
*.swp
37+
38+
dist

.npmignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
test
2+
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
13+
# Directory for instrumented libs generated by jscoverage/JSCover
14+
lib-cov
15+
16+
# Coverage directory used by tools like istanbul
17+
coverage
18+
19+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
20+
.grunt
21+
22+
# node-waf configuration
23+
.lock-wscript
24+
25+
# Compiled binary addons (http://nodejs.org/api/addons.html)
26+
build/Release
27+
28+
# Dependency directory
29+
node_modules
30+
31+
# Optional npm cache directory
32+
.npm
33+
34+
# Optional REPL history
35+
.node_repl_history

.travis.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
sudo: false
2+
language: node_js
3+
4+
matrix:
5+
include:
6+
- node_js: 4
7+
env: CXX=g++-4.8
8+
- node_js: 6
9+
env:
10+
- SAUCE=true
11+
- CXX=g++-4.8
12+
- node_js: "stable"
13+
env:
14+
- CXX=g++-4.8
15+
16+
# Make sure we have new NPM.
17+
before_install:
18+
- npm install -g npm
19+
20+
script:
21+
- npm run lint
22+
- npm test
23+
- npm run coverage
24+
25+
before_script:
26+
- export DISPLAY=:99.0
27+
- sh -e /etc/init.d/xvfb start
28+
29+
after_success:
30+
- npm run coverage-publish
31+
32+
addons:
33+
firefox: latest
34+
apt:
35+
sources:
36+
- ubuntu-toolchain-r-test
37+
packages:
38+
- g++-4.8

circle.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
machine:
2+
node:
3+
version: stable
4+
5+
dependencies:
6+
pre:
7+
- google-chrome --version
8+
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
9+
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
10+
- sudo apt-get update
11+
- sudo apt-get --only-upgrade install google-chrome-stable
12+
- google-chrome --version

package.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "libp2p-circuit",
3+
"version": "0.9.2",
4+
"description": "JavaScript implementation of circuit/switch relaying",
5+
"main": "src/index.js",
6+
"scripts": {
7+
"lint": "aegir-lint",
8+
"test": "gulp test",
9+
"test:node": "gulp test:node",
10+
"test:browser": "gulp test:browser",
11+
"build": "gulp build",
12+
"release": "gulp release",
13+
"release-minor": "gulp release --type minor",
14+
"release-major": "gulp release --type major",
15+
"coverage": "gulp coverage",
16+
"coverage-publish": "aegir-coverage publish"
17+
},
18+
"browser": {
19+
"pull-ws/server": false
20+
},
21+
"pre-commit": [
22+
"lint",
23+
"test"
24+
],
25+
"repository": {
26+
"type": "git",
27+
"url": "git+https://github.com/libp2p/js-libp2p-websockets.git"
28+
},
29+
"keywords": [
30+
"IPFS"
31+
],
32+
"author": "David Dias <[email protected]>",
33+
"license": "MIT",
34+
"bugs": {
35+
"url": "https://github.com/dryajov/js-libp2p-circuit/issues"
36+
},
37+
"homepage": "https://github.com/dryajov/js-libp2p-circuit#readme",
38+
"devDependencies": {
39+
"aegir": "^10.0.0",
40+
"pre-commit": "^1.2.2"
41+
},
42+
"contributors": [
43+
"Dmitriy Ryajov <[email protected]>"
44+
]
45+
}

src/index.js

Whitespace-only changes.

0 commit comments

Comments
 (0)