0.1.2 • Published 11 years ago
generator-knockout-custom-binding v0.1.2
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-bindingin 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
gruntthe 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 watchwhich will both lint files and run tests headless when a file is saved
###License MIT