react-player

v1.1.0
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
react media player video audio youtube facebook twitch soundcloud and 8 more...

clean

rimraf lib demo

start

webpack-dev-server

lint

standard --verbose | snazzy

test

cross-env NODE_ENV=test babel-node ./node_modules/karma/bin/karma start test/karma.config.js

coverage

codecov

build:lib

cross-env NODE_ENV=production babel src -d lib --ignore src/demo

build:demo

cross-env NODE_ENV=production webpack --config webpack.demo.babel.js

build:dist

cross-env NODE_ENV=production webpack --config webpack.dist.babel.js

build:standalone

cross-env NODE_ENV=production webpack --config webpack.standalone.babel.js

preversion

npm run lint

version

auto-changelog -p && npm run build:dist && npm run build:standalone && git add CHANGELOG.md dist

prepublishOnly

npm run build:lib && npm run build:dist

postpublish

npm run clean

Metadata

  • MIT
  • Whatever
  • Pete Cook
  • released 1/18/2018

Downloads

Maintainers