Gulp plugin for compare-json.
'use strict';
var gulp = require('gulp');
var jsonCompare = require('gulp-compare-json');
gulp.task('default', function () {
return gulp.src('fixture/*.json', { read: false })
.pipe(jsonCompare({
failOnError: true
}));
});