var gulp = require('gulp');
var ts = require('gulp-typescript');
var tslint = require('gulp-tslint');
var jade = require('gulp-jade');

gulp.task('jade', function() {
    gulp.src('./src/views/*.jade')
        .pipe(jade())
        .pipe(gulp.dest('./dist/'))
});

gulp.task('typescript', function() {
    gulp.src('src/scripts/**/*.ts')
        .pipe(tslint())
        .pipe(tslint.report('verbose'))
        .pipe(ts({
            declarationFiles: true,
            target: 'es5'
        }));
});

gulp.task('default', function () {
});

@@ -486,16 +486,60 @@
       %7D)
+%0A        .pipe(gulp.dest('./dist/scripts/'))
 );%0A%7D);%0A%0A

Set JavaScript file destination directory, after TypeScript compile