react-player

v0.16.0
A react component for playing a variety of URLs, including file paths, YouTube, Facebook, SoundCloud, Streamable, Vidme, Vimeo and Wistia
react media player video audio youtube soundcloud streamable vimeo and 3 more...

clean

rimraf lib demo

build:webpack

cross-env NODE_ENV=production webpack --config webpack.config.prod.js

build:browser

cross-env NODE_ENV=production webpack --config webpack.config.browser.js

build:demo

npm run clean && npm run build:webpack && cp index.html demo

build:compile

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

start

node server.js

lint

standard --verbose | snazzy

test

karma start test/karma.config.js

preversion

npm run lint

version

npm run update-changelog && npm run build:browser && git add CHANGELOG.md dist

update-changelog

auto-changelog --package --template compact

prepublish

npm run build:compile && npm run build:browser

postpublish

npm run clean

Metadata

  • CC0-1.0
  • Whatever
  • Pete Cook
  • released 4/27/2017

Downloads

Maintainers