Skip to content

tommyZZM-archives/gulp-typescript-easysort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Squerence TypeScript Files Accroding to Their Reference from each other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published