| Server IP : 46.62.235.243 / Your IP : 216.73.216.217 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/linkabili/node_modules/countup/ |
Upload File : |
var gulp = require('gulp');
var wrap = require('gulp-wrap-umd');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var del = require('del');
var ts = require("gulp-typescript");
var tsProject = ts.createProject("tsconfig.json");
gulp.task('clean', function(cb) {
del(['dist/*']);
return cb();
});
gulp.task('umd', ['clean'], function(file) {
var umdCountup = gulp
.src('countUp.js')
.pipe(wrap({
namespace: 'CountUp',
exports: 'CountUp'
}))
.pipe(gulp.dest('dist/'))
.pipe(uglify({preserveComments: 'license'}))
.pipe(rename({
suffix: '.min'
}))
.pipe(gulp.dest('dist/'));
var angularCountup = gulp
.src('angular-countUp.js')
.pipe(gulp.dest('dist/'))
.pipe(uglify())
.pipe(rename({
suffix: '.min'
}))
.pipe(gulp.dest('dist/'));
var angular2Countup = tsProject
.src()
.pipe(tsProject())
.pipe(gulp.dest('dist/'));
});
gulp.task('build', ['umd']);
gulp.task('default', ['build']);