aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorRubén Beltrán del Río <ben@nsovocal.com>2017-04-12 00:18:35 -0500
committerGitHub <noreply@github.com>2017-04-12 00:18:35 -0500
commitb3b840f89948d96aa28760fc5cf41c384488f6a6 (patch)
treee6741096f29440a343323a5d7542f5caf1aceacb /gulpfile.js
parentd071276e2426c4180e44debe8b92ad16cbbc414f (diff)
Feature/code update (#1)
* Updates code for new eslint config * Remove gulp and babel files * Remove dist * Remove dist * Add contributing file * Fix references to collections / tests * Convert tests to lab * Add travis file * Add missing line * Test CI on node 6 * Removes browser test * Properly includes local serpentity in test * Rename to use orgs in npm * Add changelog * Add support files / removed dist to changelog * Add yarn.lock file * Iterate using object.keys instead of values * Correct typo in typeName matching * Add webpack to generate the dist files * Add webpack config * Add dist files * Bump version * Link to ash * Updates CHANGELOG * Add CI badge
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'));
-});