Socket
Socket
Sign inDemoInstall

minivents

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minivents - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

test.js

29

gulpfile.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc