Skip to content

Commit

Permalink
refactor: clean up sub package.json files and readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun committed Aug 16, 2019
1 parent acaa880 commit 0ed470c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 159 deletions.
18 changes: 1 addition & 17 deletions src/circuit/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
{
"name": "libp2p-circuit",
"version": "0.3.7",
"description": "JavaScript implementation of circuit/switch relaying",
"main": "src/index.js",
"contributors": [
"David Dias <daviddias.p@gmail.com>",
"Dmitriy Ryajov <dryajov@gmail.com>",
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
"Hugo Dias <mail@hugodias.me>",
"Jacob Heun <jacobheun@gmail.com>",
"Jacob Heun <jake@andyet.net>",
"Maciej Krüger <mkg20001@gmail.com>",
"Oli Evans <oli@tableflip.io>",
"Pedro Teixeira <i@pgte.me>",
"Vasco Santos <vasco.santos@ua.pt>",
"Victor Bjelkholm <victorbjelkholm@gmail.com>",
"Yusef Napora <yusef@napora.org>",
"dirkmc <dirk@mccormick.cx>"
]
"main": "./index.js"
}
9 changes: 1 addition & 8 deletions src/connection-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"name": "libp2p-connection-manager",
"version": "0.1.0",
"description": "JS Libp2p Connection Manager",
"main": "src/index.js",
"contributors": [
"David Dias <daviddias.p@gmail.com>",
"Jacob Heun <jacobheun@gmail.com>",
"Pedro Teixeira <i@pgte.me>",
"Vasco Santos <vasco.santos@ua.pt>"
]
"main": "./index.js"
}
16 changes: 1 addition & 15 deletions src/identify/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
{
"name": "libp2p-identify",
"version": "0.7.6",
"description": "libp2p Identify Protocol",
"main": "src/index.js",
"contributors": [
"David Dias <daviddias.p@gmail.com>",
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
"Greenkeeper <support@greenkeeper.io>",
"Hugo Dias <hugomrdias@gmail.com>",
"Jacob Heun <jacobheun@gmail.com>",
"Jacob Heun <jake@andyet.net>",
"Maciej Krüger <mkg20001@gmail.com>",
"Richard Littauer <richard.littauer@gmail.com>",
"Vasco Santos <vasco.santos@moxy.studio>",
"Yusef Napora <yusef@protocol.ai>",
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com>"
]
"main": "./index.js"
}
16 changes: 1 addition & 15 deletions src/ping/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
{
"name": "libp2p-ping",
"version": "0.8.5",
"description": "libp2p Ping protocol implementation",
"main": "src/index.js",
"contributors": [
"David Dias <daviddias.p@gmail.com>",
"Francisco Baio Dias <xicombd@gmail.com>",
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
"Hugo Dias <mail@hugodias.me>",
"Jacob Heun <jacobheun@gmail.com>",
"João Antunes <j.goncalo.antunes@gmail.com>",
"Richard Littauer <richard.littauer@gmail.com>",
"Vasco Santos <vasco.santos@moxy.studio>",
"Vasco Santos <vasco.santos@ua.pt>",
"greenkeeperio-bot <support@greenkeeper.io>",
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com>"
]
"main": "./index.js"
}
2 changes: 1 addition & 1 deletion src/pnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ use one of the methods below to generate your key.
If you have libp2p-pnet locally, you can run the following from the projects root.

```sh
node src/key-generator.js > swarm.key
node ./key-generator.js > swarm.key
```

#### From a module using libp2p
Expand Down
37 changes: 1 addition & 36 deletions src/pnet/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,5 @@
{
"name": "libp2p-pnet",
"version": "0.1.0",
"description": "Private Network protection implementation",
"main": "src/index.js",
"dependencies": {
"debug": "^4.1.1",
"interface-connection": "~0.3.3",
"pull-cat": "^1.1.11",
"pull-defer": "~0.2.3",
"pull-handshake": "^1.1.4",
"pull-reader": "^1.3.1",
"pull-stream": "^3.6.9",
"xsalsa20": "^1.0.2"
},
"devDependencies": {
"aegir": "^18.2.2",
"async": "^2.6.2",
"chai": "^4.2.0",
"dirty-chai": "^2.0.1",
"peer-id": "~0.12.2",
"pull-pair": "^1.1.0"
},
"engines": {
"node": ">=6.0.0",
"npm": ">=3.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/libp2p/js-libp2p-pnet.git"
},
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-pnet/issues"
},
"homepage": "https://github.com/libp2p/js-libp2p-pnet",
"contributors": [
"Jacob Heun <jacobheun@gmail.com>",
"Jacob Heun <jake@andyet.net>"
]
"main": "./index.js"
}
68 changes: 1 addition & 67 deletions src/switch/package.json
Original file line number Diff line number Diff line change
@@ -1,71 +1,5 @@
{
"name": "libp2p-switch",
"version": "0.43.0",
"description": "libp2p switch implementation in JavaScript",
"leadMaintainer": "Jacob Heun <jacobheun@gmail.com>",
"main": "src/index.js",
"files": [
"src",
"dist"
],
"scripts": {
"lint": "aegir lint",
"build": "aegir build",
"test": "aegir test -t node -t browser",
"test:node": "aegir test -t node",
"test:browser": "aegir test -t browser",
"release": "aegir release -t node -t browser",
"release-minor": "aegir release --type minor -t node -t browser",
"release-major": "aegir release --type major -t node -t browser",
"coverage": "aegir coverage",
"coverage-publish": "aegir coverage --provider coveralls"
},
"repository": {
"type": "git",
"url": "https://github.com/libp2p/js-libp2p-switch.git"
},
"keywords": [
"IPFS"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-switch/issues"
},
"homepage": "https://github.com/libp2p/js-libp2p-switch",
"engines": {
"node": ">=6.0.0",
"npm": ">=3.0.0"
},
"contributors": [
"Alan Shaw <alan.shaw@protocol.ai>",
"Alan Shaw <alan@tableflip.io>",
"Arnaud <arnaud.valensi@gmail.com>",
"David Dias <daviddias.p@gmail.com>",
"David Dias <mail@daviddias.me>",
"Dmitriy Ryajov <dryajov@gmail.com>",
"Francisco Baio Dias <xicombd@gmail.com>",
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
"Greenkeeper <support@greenkeeper.io>",
"Haad <haadcode@users.noreply.github.com>",
"Hugo Dias <mail@hugodias.me>",
"Hugo Dias <hugomrdias@gmail.com>",
"Jacob Heun <jacobheun@gmail.com>",
"Jacob Heun <jake@andyet.net>",
"Kevin Kwok <antimatter15@gmail.com>",
"Kobi Gurkan <kobigurk@gmail.com>",
"Maciej Krüger <mkg20001@gmail.com>",
"Matteo Collina <matteo.collina@gmail.com>",
"Michael Fakhry <fakhrimichael@live.com>",
"Oli Evans <oli@tableflip.io>",
"Pau Ramon Revilla <masylum@gmail.com>",
"Pedro Teixeira <i@pgte.me>",
"Pius Nyakoojo <piusnyakoojo@gmail.com>",
"Richard Littauer <richard.littauer@gmail.com>",
"Sid Harder <sideharder@gmail.com>",
"Vasco Santos <vasco.santos@ua.pt>",
"greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>",
"harrshasri <35241544+harrshasri@users.noreply.github.com>",
"kumavis <kumavis@users.noreply.github.com>",
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com>"
]
"main": "./index.js"
}

0 comments on commit 0ed470c

Please sign in to comment.