player
id, listens to an event, and makes a few calls using the API.grunt
and a few npm scripts
to build the player, lint code, and run tests. Debug code is built to /bin-debug
, while minified & uglified code is built to /bin-release
. Code is built with webpack
, linted with eslint
, and tested with karma
, mocha
and chai
.yarn global add eslint grunt-cli jsdoc karma-cli stylelint webpack webpack-cli
pre-push
script to the project's .git/hooks folder that will lint and run unit tests on the branch before any push.Framework | Link |
---|---|
React | https://github.com/micnews/react-jw-player |