           src:     "**/*.md"
           dest:    "docs/html"
           ext:     ".html"
+        ]
+
+    updatebuild:
+      app:
+        files: [
+          expand:  true
+          flatten: false
+          cwd:     "build"
+          src:     "**/bower.json"
+          dest:    "build"
         ]
 
     "gh-pages":

        options:
          pattern: /templateUrl: "([^"]+)"/g
          replace: (match) ->
            filePath     = path.join "example/", match[1]
            compiledHtml = grunt.file.read filePath
            compiledHtml = compiledHtml.replace /"/g, "\\\""
            "template: \"#{compiledHtml}\""

      "replace:version"
      "karma:build"
      "update:component"
      "copy:images"
      "copy:public"
      "uglify:dist"
      "tag"
    ]

