Skip to content

Commit ffc0e14

Browse files
committed
chore: add docs
1 parent 92eebfa commit ffc0e14

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
## Table of contents <!-- omit in toc -->
1111

1212
- [Structure](#structure)
13+
- [API Docs](#api-docs)
1314
- [License](#license)
1415
- [Contribution](#contribution)
1516

@@ -20,6 +21,10 @@
2021
- [`/packages/libp2p-daemon-protocol`](./packages/libp2p-daemon-protocol) Communication protocol between libp2p daemons and clients
2122
- [`/packages/libp2p-daemon-server`](./packages/libp2p-daemon-server) API server for libp2p-daemon instances
2223

24+
## API Docs
25+
26+
- <https://libp2p.github.io/js-libp2p-daemon>
27+
2328
## License
2429

2530
Licensed under either of

package.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
"interface",
1616
"libp2p"
1717
],
18-
"engines": {
19-
"node": ">=16.0.0",
20-
"npm": ">=7.0.0"
21-
},
2218
"private": true,
2319
"scripts": {
2420
"reset": "aegir run clean && aegir clean ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist",
@@ -34,8 +30,10 @@
3430
"build": "aegir run build",
3531
"lint": "aegir run lint",
3632
"clean": "aegir run clean",
33+
"docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs",
34+
"docs:no-publish": "npm run docs -- --publish false",
3735
"dep-check": "aegir run dep-check",
38-
"release": "aegir run release"
36+
"release": "npm run docs:no-publish && aegir run release && npm run docs"
3937
},
4038
"dependencies": {
4139
"aegir": "^40.0.2"

0 commit comments

Comments
 (0)