Permalink
Browse files

copy package.json

  • Loading branch information...
1 parent 36e1115 commit 3f78b12a100780c2e520c86a6891501c0f024337 Hsiaoming Yang committed Mar 22, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/install.js
View
5 lib/install.js
@@ -254,6 +254,11 @@ function copy(src, callback) {
}
log.info('installed', dest);
+ // copy package.json
+ grunt.file.copy(
+ path.join(src, 'package.json'), path.join(dest, 'package.json')
+ );
+
// fix windows path
var dist = path.join(src, 'dist').replace(/\\/g, '/');
grunt.file.recurse(dist, function(fpath) {

0 comments on commit 3f78b12

Please sign in to comment.