Package Exports
- @playkit-js/common
- @playkit-js/common/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@playkit-js/common) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
playkit-js-common
Pack of utils and ui-components for V7 player and plugins.
Storybook page
https://kaltura.github.io/playkit-js-common
How to use
- add
@playkit-js/commoninto project dependencies (npm install @playkit-js/commonor if yarn usesyarn add @playkit-js/common) - import methods, classes or components to project, f.e:
import { A11yWrapper } from '@playkit-js/common/dist/hoc/a11y-wrapper';
Scripts
buildbuild modulesdevwatch on file changes and build modulesreleasebump package version and add changes from commits into CHANGELOGpushTaggedReleasepush latest tag to GitHub repostorybookrun dev-server for storybook (https://storybook.js.org/docs/preact/get-started/introduction)storybook:buildcreate static files for storybookstorybook:deploypush storybook static files to GitHub pages