title: Grunt: custom task development how-to
body: <p>I need to implement a custom Grunt task and I'm absolutely lost about the development workflow.</p>
  
  <ol>
  <li>How do I develop a custom task and I simulate loading it using npm during development?</li>
  <li>Is there any other way of distributing custom tasks instead of using <code>npm</code>? I mean, can I distribute a JavaScript file defining the whole custom Grunt task and import it in the <code>Gruntfile.js</code> directly?</li>
  </ol>
  
  <p>Since the whole task would be in a very early development stage, maybe the effort of publishing it in <code>npm</code> isn't a good idea. </p>
  
  <p>Thanks in advance.</p>