From 1cbba971bbadda335c016d8a7dc0883aa1135bbc Mon Sep 17 00:00:00 2001 From: trh Date: Fri, 2 Feb 2018 16:44:22 +0000 Subject: Tidied Some Repo Things --- gulpfile.js | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 gulpfile.js (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index 7c897ce..0000000 --- a/gulpfile.js +++ /dev/null @@ -1,23 +0,0 @@ -const gulp = require('gulp'); -const ts = require('gulp-typescript'); -const JSON_FILES = ['src/*.json', 'src/**/*.json']; - -// pull in the project TypeScript config -const tsProject = ts.createProject('tsconfig.json'); - -gulp.task('scripts', () => { - const tsResult = tsProject.src() - .pipe(tsProject()); - return tsResult.js.pipe(gulp.dest('dist')); -}); - -gulp.task('watch', ['scripts'], () => { - gulp.watch('src/**/*.ts', ['scripts']); -}); - -gulp.task('assets', function() { - return gulp.src(JSON_FILES) - .pipe(gulp.dest('dist')); -}); - -gulp.task('default', ['watch', 'assets']); -- cgit v1.2.1