module.exports = function( grunt ) { 'use strict'; const sass = require( 'node-sass' ); // Project configuration grunt.initConfig( { pkg: grunt.file.readJSON( 'package.json' ), addtextdomain: { options: { textdomain: 'a-z-listing', }, update_all_domains: { options: { updateDomains: true }, src: [ '*.php', '**/*.php', '!\.git/**/*', '!bin/**/*', '!node_modules/**/*', '!tests/**/*' ] } }, wp_readme_to_markdown: { your_target: { files: { 'README.md': 'readme.txt' }, options: { screenshot_url: 'assets/{screenshot}.png', pre_convert: function( readme ) { readme = readme.replace( new RegExp("^`$[\n\r]+([^`]*)[\n\r]+^`$","gm"), function( codeblock, codeblockContents ) { const blockStartEnd = '```'; let lines = codeblockContents.split("\n"); if ( String( lines[0] ).startsWith("