Comparing version 0.0.3 to 0.0.4
@@ -1,9 +0,17 @@ | ||
var gulp = require( "gulp" ), | ||
babel = require( "gulp-babel" ); | ||
var gulp = require( "gulp" ), | ||
babel = require( "gulp-babel" ), | ||
src = "./src/**/*.js", | ||
dst = "./dst"; | ||
gulp.task( "build", function(){ | ||
return gulp.src( "./src/**/*.js" ) | ||
return gulp.src( src ) | ||
.pipe( babel() ) | ||
.pipe( gulp.dest( "./dst" ) ); | ||
.pipe( gulp.dest( dst ) ); | ||
}); | ||
gulp.task( "watch", function(){ | ||
return gulp.watch( src, [ "build" ] ) | ||
}); | ||
gulp.task( "default", [ "build", "watch" ] ); |
{ | ||
"name": "js.cookie", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Object to work with cookies", | ||
"main": "./dst/Cookie.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/4urbanoff/js.cookie.git" | ||
}, | ||
"scripts": { | ||
"start": "gulp", | ||
"build": "gulp build" | ||
@@ -8,0 +13,0 @@ }, |
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
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
4828
80
0