Skip to content

alminisl/react-twitch-embed-video

 
 

Repository files navigation

React Twitch Embed Video

Your solution to embeding the Twitch video player in your ReactJS application

https://talk2megooseman.github.io/react-twitch-embed-video/

Installation

yarn npm
yarn add react-twitch-embed-video npm install react-twitch-embed-video

Usage

Visit the github page for lives examples and documentation: https://talk2megooseman.github.io/react-twitch-embed-video/

import ReactTwitchEmbedVideo from "react-twitch-embed-video"
.
.
.

<ReactTwitchEmbedVideo channel="talk2megooseman" />

Development

Usage

  1. Install modules

    yarn

  2. Check package.json so that the information is correct.

  3. Start stroybook and start coding!

    yarn start

  4. Bundle with yarn build

  5. To test if it works correctly in another project you can use npm npm install -S ../react-npm-component-boilerplate Note the relative path

Extra

  • If you want to run eslint:

    yarn lint

  • If you want to automatically fix lint problems run :

    yarn lint-fix

NPM equivalent

yarn npm
yarn npm install
yarn build npm run build
yarn start npm run start
yarn release npm run release
yarn deploy-storybook npm run deploy-storybook
yarn lint npm run lint
yarn lint-fix npm run lint-fix

Packages

No packages published

Languages

  • JavaScript 100.0%