react-player

v0.7.3
A react component for playing a variety of URLs, including file paths, YouTube, SoundCloud and Vimeo
react media player video audio youtube soundcloud vimeo react-component and 1 more...

clean

rimraf lib demo

build:webpack

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

build:browser

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

build:demo

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

build:compile

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 && npm run test

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 6/21/2016

Downloads

Maintainers