remove gulp dependency
This commit is contained in:
@ -161,19 +161,6 @@ export let removeManySync = function(filePathArrayArg: string[]): void {
|
||||
============================ Write/Read =========================
|
||||
===============================================================*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @param filePathArg
|
||||
* @returns {*}
|
||||
*/
|
||||
export let toGulpStreamSync = function(filePathArg: string){
|
||||
let stream = plugins.gulp.src(filePathArg)
|
||||
return stream
|
||||
}
|
||||
|
||||
export let toGulpDestSync = function(folderPathArg: string){
|
||||
return plugins.gulp.dest(folderPathArg)
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -2,11 +2,7 @@ import 'typings-global'
|
||||
export import beautylog = require('beautylog')
|
||||
export import fs = require('fs')
|
||||
export import fsExtra = require('fs-extra')
|
||||
export let gulp = require('gulp')
|
||||
export let glob = require('glob')
|
||||
export let g = {
|
||||
remoteSrc: require('gulp-remote-src')
|
||||
}
|
||||
export import path = require('path')
|
||||
export import q = require('q')
|
||||
export let request = require('request')
|
||||
|
@ -11,18 +11,6 @@ export let toFs = function(from: string,toPath: string) {
|
||||
return done.promise
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param filePathArg
|
||||
* @returns {*}
|
||||
*/
|
||||
export let toGulpStreamSync = function(filePathArg: string,baseArg: string){
|
||||
let stream = plugins.g.remoteSrc(filePathArg, {
|
||||
base: baseArg
|
||||
})
|
||||
return stream
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param fromArg
|
||||
|
Reference in New Issue
Block a user