PATH:
home
/
letacommog
/
lavenue
/
wp-content
/
plugins
/
restaurant-reservations
'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), // Configure JSHint jshint: { test: { src: ['assets/js/*.js', '!assets/js/block-booking-form.js', '!assets/js/blocks.build.js'] } }, // Watch for changes on some files and auto-compile them watch: { js: { files: ['assets/js/*.js'], tasks: ['jshint'] }, }, // Create a .pot file makepot: { target: { options: { processPot: function( pot, options ) { pot.headers['report-msgid-bugs-to'] = 'https://themeofthecrop.com'; return pot; }, type: 'wp-plugin', } } }, // Build a package for distribution compress: { main: { options: { archive: 'restaurant-reservations-<%= pkg.version %>.zip' }, files: [ { src: [ '*', '**/*', '!restaurant-reservations-<%= pkg.version %>.zip', '!.*', '!Gruntfile.js', '!package.json', '!node_modules', '!node_modules/**/*', '!**/.*', '!**/Gruntfile.js', '!**/package.json', '!**/node_modules', '!**/node_modules/**/*', ], dest: 'restaurant-reservations/', } ] } } }); // Load tasks grunt.loadNpmTasks('grunt-contrib-compress'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-wp-i18n'); // Default task(s). grunt.registerTask('default', ['watch']); grunt.registerTask('build', ['jshint']); grunt.registerTask('package', ['build', 'makepot', 'compress']); };
[+]
..
[-] screenshot-8.png
[edit]
[-] screenshot-6.png
[edit]
[-] screenshot-1.png
[edit]
[+]
lib
[-] screenshot-11.png
[edit]
[-] screenshot-7.png
[edit]
[-] screenshot-9.png
[edit]
[-] readme.txt
[edit]
[-] Gruntfile.js
[edit]
[-] screenshot-10.png
[edit]
[-] wpml-config.xml
[edit]
[+]
assets
[+]
includes
[-] GPL.txt
[edit]
[-] screenshot-4.png
[edit]
[-] screenshot-3.png
[edit]
[-] webpack.config.js
[edit]
[-] screenshot-12.png
[edit]
[-] package.json
[edit]
[+]
languages
[-] restaurant-reservations.php
[edit]
[-] screenshot-2.png
[edit]
[-] screenshot-5.png
[edit]