����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.170 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/././www/public/builder/templates/developer/assets/plugins/_jquery-rss/ |
Upload File : |
'use strict';
// 3rd-party modules
var buster = require('gulp-busterjs');
var gulp = require('gulp');
var jscs = require('gulp-jscs');
var jshint = require('gulp-jshint');
var mdBlock = require('gulp-markdown-code-blocks');
var runSequence = require('run-sequence');
gulp.task('default', function (done) {
runSequence('lint', 'test', done);
});
gulp.task('test', function (done) {
runSequence('test-integration', done);
});
gulp.task('lint', function (done) {
runSequence('lint-code', 'lint-readme', done);
});
gulp.task('lint-code', function () {
return gulp
.src([
'./gulpfile.js',
'./spec/**/*.js',
'./src/**/*.js'
])
.pipe(jscs())
.pipe(jscs.reporter('fail'))
.pipe(jshint())
.pipe(jshint.reporter('default'))
.pipe(jshint.reporter('fail'));
});
gulp.task('lint-readme', function () {
return gulp
.src('./README.md')
.pipe(mdBlock());
});
gulp.task('test-integration', function () {
return gulp
.src('./spec/**/*.spec.js')
.pipe(buster({
name: 'integration',
environment: 'browser',
libs: ['lib/*.js', 'node_modules/moment/min/moment-with-locales.min.js'],
sources: ['dist/jquery.rss.min.js'],
useHeadlessBrowser: true
}));
});