Compare commits

...

2 Commits

Author SHA1 Message Date
c947121243 5.3.20 2016-07-16 20:54:57 +02:00
4b3f0649fa now much faster due to skipping html coverage report 2016-07-16 20:54:52 +02:00
3 changed files with 12 additions and 5 deletions

7
dist/npmts.tests.js vendored
View File

@ -18,7 +18,7 @@ var mocha = function (configArg) {
plugins.path.join(paths.npmtsPackageRoot, "node_modules/babel-preset-es2015/index.js") plugins.path.join(paths.npmtsPackageRoot, "node_modules/babel-preset-es2015/index.js")
] ]
})) }))
.pipe(plugins.g.istanbul()) .pipe(plugins.g.istanbul({}))
.pipe(plugins.g.sourcemaps.write()) .pipe(plugins.g.sourcemaps.write())
.pipe(plugins.g.injectModules()) .pipe(plugins.g.injectModules())
.on("finish", function () { .on("finish", function () {
@ -30,7 +30,10 @@ var mocha = function (configArg) {
})) }))
.pipe(plugins.g.injectModules()) .pipe(plugins.g.injectModules())
.pipe(plugins.g.mocha()) .pipe(plugins.g.mocha())
.pipe(plugins.g.istanbul.writeReports()) .pipe(plugins.g.istanbul.writeReports({
dir: './coverage',
reporters: ['lcovonly', 'json', 'text', 'text-summary']
}))
.pipe(plugins.g.gFunction(function () { .pipe(plugins.g.gFunction(function () {
plugins.beautylog.ok("Tested!"); plugins.beautylog.ok("Tested!");
done.resolve(configArg); done.resolve(configArg);

View File

@ -1,6 +1,6 @@
{ {
"name": "npmts", "name": "npmts",
"version": "5.3.19", "version": "5.3.20",
"description": "write npm modules with TypeScript", "description": "write npm modules with TypeScript",
"main": "dist/index.js", "main": "dist/index.js",
"bin": { "bin": {

View File

@ -18,7 +18,8 @@ let mocha = function (configArg) {
plugins.path.join(paths.npmtsPackageRoot,"node_modules/babel-preset-es2015/index.js") plugins.path.join(paths.npmtsPackageRoot,"node_modules/babel-preset-es2015/index.js")
] ]
})) }))
.pipe(plugins.g.istanbul()) .pipe(plugins.g.istanbul({
}))
.pipe(plugins.g.sourcemaps.write()) .pipe(plugins.g.sourcemaps.write())
.pipe(plugins.g.injectModules()) .pipe(plugins.g.injectModules())
.on("finish",function(){ .on("finish",function(){
@ -30,7 +31,10 @@ let mocha = function (configArg) {
})) }))
.pipe(plugins.g.injectModules()) .pipe(plugins.g.injectModules())
.pipe(plugins.g.mocha()) .pipe(plugins.g.mocha())
.pipe(plugins.g.istanbul.writeReports()) .pipe(plugins.g.istanbul.writeReports({
dir: './coverage',
reporters: [ 'lcovonly', 'json', 'text', 'text-summary']
}))
.pipe(plugins.g.gFunction(function(){ .pipe(plugins.g.gFunction(function(){
plugins.beautylog.ok("Tested!"); plugins.beautylog.ok("Tested!");
done.resolve(configArg); done.resolve(configArg);