'use strict'
var gulp = require('gulp');
var tsc = require('gulp-typescript');

gulp.task('copy', function () {

    gulp.src('src/html/**')
        .pipe(gulp.dest('dest/html'));
});

gulp.task('build', [
    'copy'
]);

gulp.task('test-build', ['build'], function () {
    gulp.src('test/src/ts/**/*.ts')
        .pipe(tsc())
        .pipe(gulp.dest('test/dest/js'));
});

gulp.task('default', ['build']);

'use strict'
var gulp = require('gulp');
var tsc = require('gulp-typescript');

gulp.task('copy', function () {

    gulp.src('src/html/**')
        .pipe(gulp.dest('dest/html'));
});

gulp.task('build', ['copy'], function () {
    gulp.src('src/ts/**/*.ts')
        .pipe(tsc())
        .pipe(gulp.dest('dest/js'));
});

gulp.task('test-build', ['build'], function () {
    gulp.src('test/src/ts/**/*.ts')
        .pipe(tsc())
        .pipe(gulp.dest('test/dest/js'));
});

gulp.task('default', ['build']);

Edit task gulp.build: typescript build
Edit task gulp.build: typescript build
