aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authortrh2018-02-02 16:44:22 +0000
committertrh2018-02-02 16:44:22 +0000
commit1cbba971bbadda335c016d8a7dc0883aa1135bbc (patch)
tree57c388e5c3750c3571f9d7f60a6810a02e1b4637 /gulpfile.js
parentMerge branch 'trh/ts-node' into 'master' (diff)
downloadmedicine-1cbba971bbadda335c016d8a7dc0883aa1135bbc.tar.gz
medicine-1cbba971bbadda335c016d8a7dc0883aa1135bbc.zip

Tidied Some Repo Things

Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js23
1 files changed, 0 insertions, 23 deletions
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']);