mirror of https://github.com/Chocobozzz/PeerTube
26 lines
542 B
Markdown
26 lines
542 B
Markdown
# Lib development documentation
|
|
|
|
## @peertube/embed-api
|
|
|
|
### Build & Publish
|
|
|
|
```
|
|
cd client/src/standalone/embed-player-api/
|
|
npm run build
|
|
npm publish --access=public
|
|
```
|
|
|
|
## @peertube/peertube-types
|
|
|
|
Typescript definition files generation is controlled by the various `tsconfig.types.json` files.
|
|
|
|
The complete types package is generated via:
|
|
|
|
```
|
|
npm run generate-types-package 4.x.x
|
|
cd packages/types-generator/dist
|
|
npm publish --access=public
|
|
```
|
|
|
|
> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.
|