UNPKG

generator-scratch

Version:

Scratch is a starter theme generator based on _s and Foundation. It's a theme meant for hacking so don't use it as a Parent Theme. Instead try turning it into the next, most awesome, WordPress theme out there.

45 lines (44 loc) 832 B
module.exports = { /** * grunt-contrib-concat * * Concatenate files. * * Concatenates an array of js files set in /grunt/vars.js * * @link https://www.npmjs.com/package/grunt-contrib-concat */ options: { separator: ';\n', stripBanners: true, banner: '/*!\n' + ' * @package <%%= package.title %>\n' + ' * @version <%%= package.version %>\n' + ' */\n' }, foundation: { src: [ 'node_modules/what-input/dist/what-input.js', 'node_modules/foundation-sites/dist/js/foundation.js' ], dest: 'assets/js/foundation.js' }, theme: { src: [ 'src/js/_*.js' ], dest: 'assets/js/theme.js' }, customizer: { src: [ 'src/js/customizer.js' ], dest: 'assets/js/customizer.js' }, skip: { src: [ 'src/js/skip-link-focus-fix.js' ], dest: 'assets/js/skip-link-focus-fix.js' } };