generator-knockout-custom-binding
v0.1.2
Published
Yeoman generator for a knockout custom binding.
Downloads
2
Readme
generator-knockout-custom-binding
=================================
yoeman generator for a knockout custom binding. Require AMD, Jasmin/Phantom tests, grunt and bower pre configured along with a demo folder allowing you to show how the component functions
###Installation
npm install -g generator-knockout-custom-binding
###Usage
- Install Yeoman if not installed already:
npm install -g yo
- run
yo generator-knockout-custom-binding
in your working directory
=================================
You should be ready to start now. the source file is in src/{my.binding.name.js}
###Grunt tasks
- Lint files by running
grunt
the deafult task - Test with
grunt test
: this will open a browswer and run the jasmine test at spec/{my.binding.name.js} - Test using a headless browswer with
grunt test:headless
- Start a watch with
grunt watch
which will both lint files and run tests headless when a file is saved
###License MIT