2.1.2 • Published 3 years ago

@playkit-js/qna-plugin v2.1.2

Weekly downloads
22
License
AGPL-3.0
Repository
github
Last release
3 years ago

Kaltura Player V7 - Q&A plugin

Conventional Commits

Overview

this section will be added soon

Project structure

this section will be added soon

Commands

Serve test pages

This command will serve test page with your local plugin. It will watch for changes and build them automatically.

npm run serve  // served on http://localhost:8007

Serve command pre-requisite

Until the cli library will be ready, you will need to manually create the test page, using the following guide: 1. open folder test and copy file test/index.template.ejs as test/index.ejs 2. open index.ejs file and fill all places marked with TODO comment.

Build packages

This command will build the plugin create dist folder with relevant assets

npm run build // dist folder will be created under `dist`

Analyze packages bundle

This command will build and create a static page visualizing the bundle content.

npm run analyze  // for plugin v7 bundle analyze to be shown automatically in the browser

Update Player Contrib libraries

This command will update packages to use latest or next version of the player contrib libraries.

npm run upgrade:latest // upgrade contrib libraries to latest version
npm run upgrade:next // upgrade contrib libraries to next version