sockstream
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -22,2 +22,6 @@ 'use strict'; | ||
gulp.task('compress', cb => | ||
runSequence(['compress:js'], cb) | ||
); | ||
gulp.task('build:clean', cb => | ||
@@ -32,12 +36,12 @@ runSequence('clean', ['build:js'], cb) | ||
gulp.task('clean', ()=> { | ||
del(['./build/js']); | ||
del(['./build']); | ||
}); | ||
gulp.task('build:js', ()=> | ||
gulp.src('./src/js/*.js') | ||
.pipe(changed('./build/js', {extension: '.js'})) | ||
gulp.src('./src/*.js') | ||
.pipe(changed('./build', {extension: '.js'})) | ||
.pipe(babel({ | ||
presets: ['es2015', 'es2016', 'stage-0'] | ||
})) | ||
.pipe(gulp.dest('./build/js')) | ||
.pipe(gulp.dest('./build')) | ||
.pipe(gulpIf(_sync, browserSync.reload({stream: true}))) | ||
@@ -47,3 +51,3 @@ ); | ||
gulp.task('watch:app', ()=> { | ||
gulp.watch(['./src/js/*.js'], ['build:js']); | ||
gulp.watch(['./src/*.js'], ['build:js']); | ||
}); | ||
@@ -63,4 +67,4 @@ | ||
gulp.task('compress', ()=> { | ||
gulp.src('./build/js/*.js') | ||
gulp.task('compress:js', ()=> { | ||
gulp.src('./build/*.js') | ||
.pipe(minify({ | ||
@@ -67,0 +71,0 @@ ext:{ |
{ | ||
"name": "sockstream", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Provides a standard WebSocket thin manager", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
496
52386
1