Posts

Showing posts from June, 2013

GRUNT- The JavaScript Task Runner

Image
Grunt helps developers automate the task of javascript deployment. In our development cycle, every javascript deployment used to be 1. Code 2. Minify 3. Upload We were missing out two important phases which ensures code quality and reliability 1. Lint 2. Testing As our code became larger and larger, as anyother dev we also considered a refactor. The refactor resulted in splitting our large code base to manageable modules. Now, Deployment has to go through 1. Unit test independent modules 2. Merge Modules to a shippable target 3. Lint 4. Minify 5. Deploy Ooops... Nice but how? It's true that developers love things automated, and so we were. We arrived at a one stop solution GRUNT. This blog post is a Let Them Know Types. As, I felt that the instructions on grunt setup is kind of scattered :) To hav a better introduction with the hero, you should meet him at his place Grunt has two parts: 1. Using it 2. Customizing it How to start using it? Installation: G...