summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/gulpfile.js b/gulpfile.js
deleted file mode 100644
index dcb689b..0000000
--- a/gulpfile.js
+++ /dev/null
@@ -1,28 +0,0 @@
-'use strict';
-
-const Gulp = require('gulp');
-const Babel = require('gulp-babel');
-const Concat = require('gulp-concat');
-const Rename = require('gulp-rename');
-const Uglify = require('gulp-uglify');
-
-Gulp.task('build', function() {
- Gulp.src([
- 'lib/serpentity.js',
- 'lib/serpentity/entity.js',
- 'lib/serpentity/node.js',
- 'lib/serpentity/node_collection.js',
- 'lib/serpentity/component.js',
- 'lib/serpentity/system.js'
- ])
- .pipe(Babel({
- presets: ['es2015']
- }))
- .pipe(Concat('serpentity.js'))
- .pipe(Gulp.dest('dist'))
- .pipe(Uglify())
- .pipe(Rename({
- suffix: '.min'
- }))
- .pipe(Gulp.dest('dist'));
-});