HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: yenicep (1023)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home2/yenicep/public_html/assets/js/Gruntfile.js
module.exports = function(grunt) {
    "use strict";

    require("time-grunt")(grunt);
    require("load-grunt-tasks")(grunt);

    grunt.registerTask("test", ["jshint", "jasmine"]);
    grunt.registerTask("default", ["test", "uglify"]);

    grunt.initConfig({
        pkg: grunt.file.readJSON("package.json"),
        uglify : {
            options: {
                report: "gzip",
                banner: "/*! Chained <%= pkg.version %> - MIT license - Copyright 2010-2017 Mika Tuupola */\n"
            },
            target: {
                files: {
                    "jquery.chained.min.js" : "jquery.chained.js",
                    "jquery.chained.remote.min.js" : "jquery.chained.remote.js"
                }
            }
        },
        watch: {
            files: ["*.js", "!*.min.js" ,"test/spec/*Spec.js"],
            tasks: ["test"],
        },
        jshint: {
            files: ["*.js", "!*.min.js" ,"test/spec/*Spec.js"],
            options: {
                jshintrc: ".jshintrc"
            }
        },
        jasmine: {
            "jquery-1.12.4": {
                src: ["jquery.chained.js", "jquery.chained.remote.js"],
                options: {
                    helpers: "test/spec/*Helper.js",
                    specs: "test/spec/*Spec.js",
                    vendor: ["test/vendor/jquery-1.12.4.js", "test/vendor/jasmine-jquery.js",
                             "test/vendor/sinon-1.8.2.js"]
                }
            },
            "jquery-2.2.4": {
                src: ["jquery.chained.js", "jquery.chained.remote.js"],
                options: {
                    helpers: "test/spec/*Helper.js",
                    specs: "test/spec/*Spec.js",
                    vendor: ["test/vendor/jquery-2.2.4.js", "test/vendor/jasmine-jquery.js",
                             "test/vendor/sinon-1.8.2.js"]
                }
            },
            "jquery-3.2.1": {
                src: ["jquery.chained.js", "jquery.chained.remote.js"],
                options: {
                    helpers: "test/spec/*Helper.js",
                    specs: "test/spec/*Spec.js",
                    vendor: ["test/vendor/jquery-3.2.1.js", "test/vendor/jasmine-jquery.js",
                             "test/vendor/sinon-1.8.2.js"]
                }
            }//,
            // "zepto-1.0.1": {
            //     src: ["jquery.chained.js", "jquery.chained.remote.js"],
            //     options: {
            //         helpers: "test/spec/*Helper.js",
            //         specs: "test/spec/*Spec.js",
            //         vendor: ["test/vendor/zepto-1.0.1.js", "test/vendor/zepto-selector.js",
            //                  "test/vendor/jasmine-zepto.js", "test/vendor/sinon-1.8.2.js"]
            //     }
            // }
        }
    });

};