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