diff --git a/gulpfile.js b/gulpfile.js index 420567e..e2ba083 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -5,10 +5,7 @@ const uglify = require('gulp-uglify'); const header = require('gulp-header'); const path = require('path'); const fs = require('fs-extra'); -const mochaPhantomJS = require('gulp-mocha-phantomjs'); const WrapperPlugin = require('wrapper-webpack-plugin'); -const release = require('gulp-github-release'); -const through = require('through2'); const config = require('./src/conf.js'); @@ -43,6 +40,10 @@ gulp.task('clean', () => { gulp.task('test', ['make'], function () { + + const through = require('through2'); + const mochaPhantomJS = require('gulp-mocha-phantomjs'); + return gulp .src('test/index.html') .pipe(mochaPhantomJS({ @@ -134,6 +135,9 @@ gulp.task('make', ['clean'], function() { gulp.task('release', function(){ + + const release = require('gulp-github-release'); + return gulp.src('dist/'+config.webpack.filename.dist) .pipe(release({ manifest: require('./package.json') diff --git a/package.json b/package.json index e83d42c..e8bec0c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "constellation-canvas", "description": "draws cute animated canvas constellations", - "version": "1.4.1", + "version": "1.4.2", "author": "Laura mayhem", "bugs": { "url": "https://github.com/walaura/constellation/issues",