A Hulu Original Binding Library
Inspired by Knockout.js, Quickdraw is meant to bridge the gap between MVVM and the living room experience. Optimized for low powered devices, Quickdraw brings the power of observable bindings along with the speed necessary for a fluid living room experience.
Quickdraw leverages Node.js and Gulp to make development nice and simple. The following information assumes that you have Node.js and npm already installed on your system.
The following commands, run in the cloned repository folder should get you up and running
# Install gulp globally
npm install -g gulp
# Install the development dependencies of Quickdraw
npm install
This will delete any built and generated files that have been created by other gulp commands
This will compile the base Quickdraw source and all the provided handlers into a singular quickdraw.js
file
This will create the same quickdraw.js
file that the gulp compile
command but it will have line coverage tracking added to it
This will run all the tests defined in the test
directory against the Quickdraw library
This will run all the tests defined in the test
directory against the Quickdraw library and produce a set of coverage reports (XUNIT and LCOV) about the library.
This will run the gulp test:coverage
command and then take the
output coverage reports and use the systems 'genhtml' command to
produce a browsable HTML page displaying coverage information per file.
This will increment the package version. By default it will increment the patch portion of the version number, but you can supply the type
argument and provide a value of major
, minor
, or patch
to the command (e.g. gulp release:version --type major
) to force a different release type.
The release command will build the library, run the test suite, and if all tests pass will publish the library to npm.
The default action is to clean the source directory and compile the library again.