2021-09-07 04:47:40 -05:00
|
|
|
# Lib development documentation
|
|
|
|
|
|
|
|
## @peertube/embed-api
|
|
|
|
|
|
|
|
### Build
|
|
|
|
|
|
|
|
```
|
|
|
|
$ cd client/src/standalone/player/
|
|
|
|
$ npm run build
|
|
|
|
```
|
2021-11-09 06:49:08 -06:00
|
|
|
|
|
|
|
## @peertube/peertube-types
|
|
|
|
|
|
|
|
Typescript definition files generation is controlled by the various `tsconfig.types.json` files, see:
|
|
|
|
```
|
|
|
|
yarn tsc -b --verbose tsconfig.types.json
|
|
|
|
```
|
|
|
|
|
|
|
|
But the complete types package is generated via:
|
|
|
|
```
|
|
|
|
yarn generate-types-package
|
|
|
|
```
|
|
|
|
> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.
|