Comparing version 1.1.4 to 1.1.5
@@ -1,10 +0,27 @@ | ||
// minivents - created with Gulp Fiction | ||
var gulp = require('gulp'); | ||
var uglify = require('gulp-uglify'); | ||
var rename = require('gulp-rename'); | ||
gulp.task('default', [], function () { | ||
gulp.src('./minivents.js') | ||
var gulp = require('gulp'), | ||
uglify = require('gulp-uglify'), | ||
jshint = require('gulp-jshint'), | ||
rename = require('gulp-rename'), | ||
mocha = require('gulp-mocha'); | ||
gulp.task('hint', function () { | ||
gulp.src('./minivents.js') | ||
.pipe(jshint()) | ||
.pipe(jshint.reporter('default')); | ||
}); | ||
gulp.task('test', [], function () { | ||
gulp.src('./test.js') | ||
.pipe(mocha()); | ||
}); | ||
gulp.task('build', [], function () { | ||
gulp.src('./minivents.js') | ||
.pipe(uglify()) | ||
.pipe(rename('minivents.min.js')) | ||
.pipe(gulp.dest('./')); | ||
}); | ||
gulp.task('default', [ 'test', 'build' ], function () { | ||
}); |
{ | ||
"name": "minivents", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Tiny eventing for javascript", | ||
"main": "minivents.js", | ||
"directories": { | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"test": "gulp test", | ||
"build": "gulp" | ||
@@ -25,3 +22,6 @@ }, | ||
"devDependencies": { | ||
"assert": "^1.1.1", | ||
"gulp": "~3.6.2", | ||
"gulp-jshint": "^1.6.2", | ||
"gulp-mocha": "^0.4.1", | ||
"gulp-uglify": "~0.3.0", | ||
@@ -28,0 +28,0 @@ "gulp-rename": "~1.2.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 tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
9427
158
1
6