Fix module package.json file copying

The package.json files in the module dirs were not copied
properly due to the grunt-contrib-copy update. Fix that
by adding an expand clause to the copy tasks.
This commit is contained in:
Erjan Gavalji
2015-07-29 11:44:34 +03:00
parent 873e2615ad
commit e427fd5422

View File

@ -231,6 +231,7 @@ module.exports = function(grunt) {
}
},
modulesPackageDef: {
expand: true,
src: localCfg.packageJsonFilePath,
dest: localCfg.outModulesDir + "/",
options: {
@ -254,6 +255,7 @@ module.exports = function(grunt) {
}
},
childPackageFiles: {
expand: true,
src: [
localCfg.srcDir + "/**/package.json",
"!./package.json",