ActivityPub-federated video streaming platform using P2P directly in your web browser
Add dev lib documentation
Chocobozzz6f9719b568fa
diff --git a/client/.gitignore b/client/.gitignoreindex a02b6a6ccd..7297b43fc4 100644--- a/client/.gitignore+++ b/client/.gitignore@@ -9,3 +9,5 @@/src/locale/target/player_*.xml/src/locale/target/server_*.xml/e2e/local.log+/src/standalone/player/build+/src/standalone/player/distdiff --git a/client/src/standalone/player/package.json b/client/src/standalone/player/package.jsonindex 985097af52..78b3cd93f8 100644--- a/client/src/standalone/player/package.json+++ b/client/src/standalone/player/package.json@@ -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",diff --git a/support/doc/development/lib.md b/support/doc/development/lib.mdnew file mode 100644index 0000000000..6b0372150f--- /dev/null+++ b/support/doc/development/lib.md@@ -0,0 +1,10 @@+# Lib development documentation++## @peertube/embed-api++### Build++```+$ cd client/src/standalone/player/+$ npm run build+```