Fix some build scripts and lint

This commit is contained in:
Chocobozzz
2021-12-16 10:08:43 +01:00
committed by Chocobozzz
parent 75278e2890
commit 9b3294a849
6 changed files with 15 additions and 11 deletions
+9 -7
View File
@@ -2,22 +2,24 @@
## @peertube/embed-api
### Build
### 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, see:
Typescript definition files generation is controlled by the various `tsconfig.types.json` files.
The complete types package is generated via:
```
yarn tsc -b --verbose tsconfig.types.json
$ npm run generate-types-package
$ cd dist
$ npm publish --access=public
```
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.