aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/development/lib.md
blob: 0c77cff563126d474f22537aeaa3ce365842ba9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Lib development documentation

## @peertube/embed-api

### Build & Publish

```
$ cd client/src/standalone/player/
$ 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
$ cd types/dist
$ npm publish --access=public
```

> See [scripts/generate-types-package.ts](scripts/generate-types-package.ts) for details.