Skip to content

Commit

Permalink
Instrumenting build
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Oct 18, 2022
1 parent 2ca8112 commit 36513ec
Show file tree
Hide file tree
Showing 3 changed files with 778 additions and 4 deletions.
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const concat = require("gulp-concat");
const connect = require("gulp-connect");
const finalhandler = require("finalhandler");
const http = require("http");
const istanbul = require("gulp-istanbul");
const rename = require("gulp-rename");
const serveStatic = require("serve-static");
const ts = require("gulp-typescript");
Expand Down Expand Up @@ -40,6 +41,7 @@ gulp.task("build:js:copy", function () {
.src(["src/**/*.ts", "types/**/*.ts"])
.pipe(tsProject())
.js.pipe(concat("imagelightbox.js"))
.pipe(istanbul({ coverageVariable: "__coverage__" }))
.pipe(gulp.dest("dist/"))
.pipe(gulp.dest("docs/javascripts/"));
});
Expand Down
Loading

0 comments on commit 36513ec

Please sign in to comment.