]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/doc/development/lib.md
Fix some build scripts and lint
[github/Chocobozzz/PeerTube.git] / support / doc / development / lib.md
CommitLineData
6f9719b5
C
1# Lib development documentation
2
3## @peertube/embed-api
4
9b3294a8 5### Build & Publish
6f9719b5
C
6
7```
8$ cd client/src/standalone/player/
9$ npm run build
9b3294a8 10$ npm publish --access=public
6f9719b5 11```
8b03e2ce 12
13## @peertube/peertube-types
14
9b3294a8
C
15Typescript definition files generation is controlled by the various `tsconfig.types.json` files.
16
17The complete types package is generated via:
8b03e2ce 18
8b03e2ce 19```
9b3294a8
C
20$ npm run generate-types-package
21$ cd dist
22$ npm publish --access=public
8b03e2ce 23```
9b3294a8 24
8b03e2ce 25> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.