fix smartgulp

This commit is contained in:
2017-05-01 22:43:32 +02:00
parent ee36914a42
commit 87ceed6f8f
7 changed files with 30 additions and 409 deletions

5
dist/mod02/index.js vendored
View File

@ -13,7 +13,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
* -------------------------------------------- */
const plugins = require("./mod02.plugins");
const paths = require("../npmts.paths");
let gulp = require('gulp');
const q = require("smartq");
/**
* runs mocha
@ -29,7 +28,7 @@ let tap = function (configArg) {
* handle the testable files
*/
let testableFilesSmartstream = new plugins.smartstream.Smartstream([
gulp.src([plugins.path.join(paths.cwd, './ts/**/*.ts')]),
plugins.smartgulp.src([plugins.path.join(paths.cwd, './ts/**/*.ts')]),
plugins.gulpSourcemaps.init(),
plugins.gulpTypeScript({
target: 'ES5',
@ -48,7 +47,7 @@ let tap = function (configArg) {
* handle the test files
*/
let testFilesSmartstream = new plugins.smartstream.Smartstream([
gulp.src([plugins.path.join(paths.cwd, 'test/*.ts')]),
plugins.smartgulp.src([plugins.path.join(paths.cwd, 'test/*.ts')]),
plugins.gulpTypeScript({
target: 'ES5',
emitDecoratorMetadata: true,

View File

@ -1,8 +1,8 @@
export * from '../npmts.plugins';
import * as gulp from 'smartgulp';
import * as gulpFunction from 'gulp-function';
import * as gulpSourcemaps from 'gulp-sourcemaps';
import * as gulpTypeScript from 'gulp-typescript';
import * as smartcov from 'smartcov';
import * as smartgulp from 'smartgulp';
import * as tapbuffer from 'tapbuffer';
export { gulp, gulpFunction, gulpSourcemaps, gulpTypeScript, smartcov, tapbuffer };
export { gulpFunction, gulpSourcemaps, gulpTypeScript, smartcov, smartgulp, tapbuffer };

View File

@ -4,8 +4,6 @@ function __export(m) {
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("../npmts.plugins"));
const gulp = require("smartgulp");
exports.gulp = gulp;
const gulpFunction = require("gulp-function");
exports.gulpFunction = gulpFunction;
const gulpSourcemaps = require("gulp-sourcemaps");
@ -14,5 +12,7 @@ const gulpTypeScript = require("gulp-typescript");
exports.gulpTypeScript = gulpTypeScript;
const smartcov = require("smartcov");
exports.smartcov = smartcov;
const smartgulp = require("smartgulp");
exports.smartgulp = smartgulp;
const tapbuffer = require("tapbuffer");
exports.tapbuffer = tapbuffer;