Pack of utils and ui-components for V7 player and plugins.
https://kaltura.github.io/playkit-js-common
- add
@playkit-js/common
into project dependencies (npm install @playkit-js/common
or 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';
-
build
build modules -
dev
watch on file changes and build modules -
release
bump package version and add changes from commits into CHANGELOG -
pushTaggedRelease
push latest tag to GitHub repo -
storybook:install
install dependencies of storybook submodule -
storybook
run dev-server for storybook (https://storybook.js.org/docs/preact/get-started/introduction) -
storybook:build
create static files for storybook -
storybook:deploy
push storybook static files to GitHub pages