HEX
Server: LiteSpeed
System: Linux venus 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: axxoncom (1007)
PHP: 8.3.19
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/axxoncom/domains/bifiyat.xyz/public_html/wp-content/themes/caridad/Gruntfile.js
/* jshint node:true */
module.exports = function(grunt) {
	'use strict';

	grunt.util.linefeed = '\n';

	grunt.util.linefeed = '\n';

	grunt.initConfig(require('./utils/grunt/init')(grunt));
	require('./utils/grunt/packaging')(grunt);

	require('matchdep').filterDev('grunt-*').forEach( grunt.loadNpmTasks );

	grunt.registerTask('buildjs', ['browserify', 'concat', 'uglify']);
	grunt.registerTask('dev', [ 'buildjs', 'less', 'parallel:dev']);
	grunt.registerTask('dev-live', [ 'buildjs', 'less', 'parallel:dev-live']);

	grunt.registerTask('post-sync', function() {
		var done = this.async();

		var exec = require('child_process').exec;

		var recompile = "echo 'vamtam_recompile_css()' | wp shell";

		exec( recompile, {
			cwd: require( 'path' ).resolve( process.cwd(), '..' ),
		}, function( error ) {
			if ( error ) return done( grunt.util.error( error ) );

			done();
		});
	});

	// build process - related tasks go on the same row
	grunt.registerTask('package', [
		'jshint', 'buildjs', 'ttf2woff2',
		'check-api',
		'build-plugins',
		'parallel:composer',
		'clean:build', 'clean:dist',
		'makepot', 'add-textdomain',
		'copy:theme',

		// samples
		// 'scp-download-samples', // removed as it only downloads all-default.css
		// 'download-images',
		'download-content-xml',
		'download-sidebars-options',
		// 'download-revslider',

		'download-json:the-events-calendar',
		'download-json:theme-mods',
		'download-json:elementor-settings',
		'download-json:woocommerce-settings',
		'download-json:woocommerce-booking',
		'download-json:woocommerce-attributes',
		'download-json:instagram-feed',

		'download-json:give-data',

		'download-elementor-styles',
		'download-elementor-global-defaults',

		// clean and compress
		'clean:post-copy',
		'replace:style-switcher',
		'compress:theme',
		'clean:build'
	]);
};