gulp-typescript-easysort
v0.0.7
Published
"Squerence TypeScript Files Accroding to Their Reference from each other"
Downloads
3
Readme
gulp-typescript-easysort
Squerence TypeScript Files Accroding to Their Reference from each other, witch means you can sort a group of typescript files with out reference path="..."
通过TypeScript文件间相互引用关系,对一系列.ts文件进行排序,而不需要 reference path="..."
Install
npm install gulp-typescript-easysort --save
https://www.npmjs.com/package/gulp-typescript-easysort
Useage Example
var tssort = require('gulp-typescript-easysort');
var filelist = require('gulp-filelist');
gulp.task('src-sort', function() {
return gulp.src("./src/**/*.ts")
.pipe(tssort())
.pipe(filelist('filelist.json'))
.pipe(gulp.dest("./tmp/"));
});
returns a new Array of this files.