react-player
v1.1.0 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