1
0
Fork 0

Add dev lib documentation

This commit is contained in:
Chocobozzz 2021-09-07 11:47:40 +02:00
parent dbe91db73e
commit 6f9719b568
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 13 additions and 1 deletions

2
client/.gitignore vendored
View File

@ -9,3 +9,5 @@
/src/locale/target/player_*.xml
/src/locale/target/server_*.xml
/e2e/local.log
/src/standalone/player/build
/src/standalone/player/dist

View File

@ -4,7 +4,7 @@
"version": "0.0.4",
"description": "API to communicate with the PeerTube player embed",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "../../../node_modules/.bin/tsc && ../../../node_modules/.bin/webpack --mode production --config ./webpack.config.js"
},
"repository": {
"type": "git",

View File

@ -0,0 +1,10 @@
# Lib development documentation
## @peertube/embed-api
### Build
```
$ cd client/src/standalone/player/
$ npm run build
```