react-player

v0.5.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

clean

rimraf lib; rimraf demo

build:webpack

NODE_ENV=production webpack --config webpack.config.prod.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:mocha

NODE_ENV=production mocha --require ignore-styles test/mocha --compilers js:babel-core/register

test:karma

karma start test/karma.config.js

test

npm run test:mocha && npm run test:karma

preversion

npm run lint && npm run test

version

auto-changelog --package --template compact; git add CHANGELOG.md

prepublish

npm run build:compile

postpublish

npm run clean

Metadata

  • MIT
  • Whatever
  • Pete Cook
  • released 1/26/2016

Downloads

Maintainers