     pkg
 
     clean:
-      build:     'bin/*'
+      build: 'bin/*'
 
-      dist:      ['dist/*', 'docs/*']
+      dist:      'dist/*'
       distAfter: 'dist/temp/'
+
+      docs: 'docs/*'
 
     compress:
       dist:

# [Template](http://template-extension.org)  
# (c) 2013 Alasdair Mercer  
# Freely distributable under the MIT license:  
# <http://template-extension.org/license>

module.exports = (grunt) ->

  # Configuration

  ]

  grunt.registerTask 'dist', [
    'clean:dist'
    'copy:dist'
    'locale-prepare'
    'json-minify'
    'uglify'
    'compress'
    'clean:distAfter'
  ]

  grunt.registerTask 'docs', [
    'clean:docs'
    'docco'
  ]

  grunt.registerTask 'default', ['build']
