diff --git a/index.js b/index.js index 5103417..2032604 100644 --- a/index.js +++ b/index.js @@ -176,7 +176,7 @@ var NpmtsCompile; module: "commonjs" })); var stream = plugins.mergeStream([ - tsStream.dts.pipe(plugins.gulp.dest(outputDir)), + //tsStream.dts.pipe(plugins.gulp.dest(outputDir)), tsStream.js .pipe(plugins.g.sourcemaps.write()) // Now the sourcemaps are added to the .js file .pipe(plugins.g.header('#!/usr/bin/env node\n\n')) @@ -202,7 +202,7 @@ var NpmtsTests; var done = plugins.q.defer(); var config = configArg; var istanbul = function () { - var stream = plugins.gulp.src([plugins.path.join(paths.cwd, "dist/index.js")]) + var stream = plugins.gulp.src([plugins.path.join(paths.cwd, "dist/*.js")]) .pipe(plugins.g.istanbul()) .pipe(plugins.g.istanbul.hookRequire()); return stream;