https://t.me/ARX49
Server : LiteSpeed
System : Linux server321.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : apotdzgr ( 7060)
PHP Version : 8.0.30
Disable Function : NONE
Directory :  /home/apotdzgr/public_html/wp-content/plugins/mycryptocheckout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/apotdzgr/public_html/wp-content/plugins/mycryptocheckout/Gruntfile.js
module.exports = function(grunt) {

	// Configuration
	grunt.initConfig({
		'dart-sass': {
			target: {
				options: {
					sourceMap: false,
				},
				files: {
					'src/static/css/mycryptocheckout.css': 'src/static/css/scss/mycryptocheckout.scss',
				}
			}
		},
    	postcss: {
  			options: {
    			processors: [
      				require('autoprefixer')({
						overrideBrowserslist: ['> 0.5%, last 2 versions, Firefox ESR, not dead']
					})
    			]
  			},
  			dist: {
    			src: 'src/static/css/mycryptocheckout.css'
  			}
		},
		copy: {
			main: {
				files: [
					// copies web3.js file
					{ 
						expand: true,
						flatten: true,
						src: ['node_modules/web3/dist/web3.min.js'], 
						dest: 'src/static/js/',
						filter: 'isFile'
					},
					// copies bignumber.js file
					{ 
						expand: true,
						flatten: true,
						src: ['node_modules/bignumber.js/bignumber.js'], 
						dest: 'src/static/js/js.d/',
						filter: 'isFile',
						// Rename the file to include '40.' prefix 
						rename: function (dest, matchedSrcPath) {
							if (matchedSrcPath.substring(0, 1) !== '4') {
								return dest + '40.' + matchedSrcPath;
							}
						}
					},
					// copies clipboard.js file
					{ 
						expand: true,
						flatten: true,
						src: ['node_modules/clipboard/dist/clipboard.js'], 
						dest: 'src/static/js/js.d/',
						filter: 'isFile',
						// Rename the file to include '40.' prefix 
						rename: function (dest, matchedSrcPath) {
							if (matchedSrcPath.substring(0, 1) !== '4') {
								return dest + '40.' + matchedSrcPath;
							}
						}
					},
					// copies qrcode.js file
					{ 
						expand: true,
						flatten: true,
						src: ['node_modules/qrcode/build/qrcode.js'], 
						dest: 'src/static/js/js.d/',
						filter: 'isFile',
						// Rename the file to include '40.' prefix 
						rename: function (dest, matchedSrcPath) {
							if (matchedSrcPath.substring(0, 1) !== '4') {
								return dest + '40.' + matchedSrcPath;
							}
						}
					},
				],
			},
		},
	});

	// Load plugins
	grunt.loadNpmTasks('grunt-dart-sass');
	grunt.loadNpmTasks('@lodder/grunt-postcss');
	grunt.loadNpmTasks('grunt-contrib-copy');
	
	// Run All Tasks
	grunt.registerTask('all', ['dart-sass', 'postcss', 'copy']);

};

https://t.me/ARX49 - 2025