mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-01 23:31:04 +00:00
docs: add missing sections to the README (#128)
This commit is contained in:
parent
468cc421fa
commit
2504cbeb26
36
README.md
36
README.md
@ -263,6 +263,42 @@ class Node extends libp2p {
|
|||||||
[multiaddr]: https://github.com/multiformats/js-multiaddr
|
[multiaddr]: https://github.com/multiformats/js-multiaddr
|
||||||
[Connection]: https://github.com/libp2p/interface-connection
|
[Connection]: https://github.com/libp2p/interface-connection
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
**Clone and install dependencies:**
|
||||||
|
|
||||||
|
```sh
|
||||||
|
> git clone https://github.com/ipfs/js-ipfs.git
|
||||||
|
> cd js-ipfs
|
||||||
|
> npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
### Tests
|
||||||
|
|
||||||
|
#### Run unit tests
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# run all the unit tsts
|
||||||
|
> npm test
|
||||||
|
|
||||||
|
# run just Node.js tests
|
||||||
|
> npm run test:node
|
||||||
|
|
||||||
|
# run just Browser tests (Chrome)
|
||||||
|
> npm run test:browser
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Run interop tests
|
||||||
|
|
||||||
|
```sh
|
||||||
|
N/A
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Run benchmark tests
|
||||||
|
|
||||||
|
```sh
|
||||||
|
N/A
|
||||||
|
```
|
||||||
|
|
||||||
### Packages
|
### Packages
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user