fixed packaging issue

This commit is contained in:
Umed Khudoiberdiev 2016-12-06 14:14:26 +05:00
parent 2bebb8550f
commit d3fd0fe04c

View File

@ -231,6 +231,15 @@ export class Gulpfile {
.pipe(gulp.dest("./build/package"));
}
/**
* Copies package_browser.json into package.json for the typeorm-browser package.
*/
@Task()
packageCopyReadme() {
return gulp.src("./README.md")
.pipe(gulp.dest("./build/package"));
}
/**
* Creates a package that can be published to npm.
*/
@ -239,7 +248,7 @@ export class Gulpfile {
return [
"packageCompile",
"packageMoveCompiledFiles",
["packageClearCompileDirectory", "packageReplaceReferences", "packagePreparePackageFile"],
["packageClearCompileDirectory", "packageReplaceReferences", "packagePreparePackageFile", "packageCopyReadme"],
];
}