Overview
Sure, you use Grunt to build your projects, but have you ever wondered how it all works? Where do those Grunt plugins come from? How are they put together? What do you do if there isn’t a plugin that meets your needs?
I wrote my first Grunt plugin to solve a very specific problem but ended up learning things about npm and Grunt that have benefited all of my projects. In this talk, I’ll walk you through how I created my plugin and how you can do the same. Even if you never get that far, you’ll take away useful ideas you can apply to your existing Grunt workflow.
Objective
Upgrade your Grunt workflow by learning how to write your own plugins.
Target Audience
Developers who already have a Grunt-based workflow.
Assumed Audience Knowledge
Experience with JavaScript and familiarity with Grunt.
Five things audience members will learn
- Managing dependencies with npm
- Building a Grunt plugin
- Unit testing with nodeunit
- The magic of npm link
- How to publish your own Grunt plugins