Skip to content

Commit

Permalink
Merge branch 'hotfix/0.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
marmos91 committed Apr 15, 2017
2 parents c7c6397 + f7101db commit f9efabc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,21 @@ export class GulpFile
@Task()
coverage()
{
return gulp.src(['src/**/*.js'])
.pipe(istanbul())
return gulp.src(['build/src/**/*.js'])
.pipe(istanbul({
includeUntested: true
}))
.pipe(istanbul.hookRequire());
}

@Task()
@Task("mocha", ["coverage"])
mocha()
{
return gulp.src ('build/test/**/*.js', {read: false})
.pipe (mocha ({noDeprecation: true}))
.pipe(istanbul.writeReports())
.pipe(istanbul.enforceThresholds({ thresholds: { global: 90 } }));
.pipe (mocha ({
bail: true
}))
.pipe(istanbul.writeReports());
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "winston-decorator",
"version": "0.0.4",
"version": "0.0.5",
"description": "A decorator version of the winston logger written completely in Typescript.",
"scripts": {
"test": "node_modules/.bin/gulp tests"
Expand Down

0 comments on commit f9efabc

Please sign in to comment.