aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorTom Harley2018-02-02 16:32:17 +0000
committerTom Harley2018-02-02 16:35:42 +0000
commit2a3f1dd0d20b428d8b4e56bc70c68fad262e622c (patch)
treed16f7960452b724042876b76efc56b3924e197b6 /gulpfile.js
parentRemoved compiled files from repo, and added folder to .gitignore (diff)
downloadmedicine-2a3f1dd0d20b428d8b4e56bc70c68fad262e622c.tar.gz
medicine-2a3f1dd0d20b428d8b4e56bc70c68fad262e622c.zip

Removed gulp compiling and reordered dependencies

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']);