fix smartgulp
This commit is contained in:
@ -4,8 +4,6 @@
|
||||
import plugins = require('./mod02.plugins')
|
||||
import paths = require('../npmts.paths')
|
||||
|
||||
let gulp = require('gulp')
|
||||
|
||||
import * as q from 'smartq'
|
||||
|
||||
import { INpmtsConfig } from '../npmts.config'
|
||||
@ -26,7 +24,7 @@ let tap = function (configArg: INpmtsConfig) {
|
||||
* 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',
|
||||
@ -46,7 +44,7 @@ let tap = function (configArg: INpmtsConfig) {
|
||||
* 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,
|
||||
|
@ -1,17 +1,17 @@
|
||||
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,
|
||||
smartgulp,
|
||||
tapbuffer
|
||||
}
|
||||
|
Reference in New Issue
Block a user