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.
41 lines (40 loc) • 701 B
JavaScript
module.exports = {
/**
* grunt-contrib-copy
*
* Copy files and folders
*
* @link https://www.npmjs.com/package/grunt-contrib-copy
*/
dist: {
expand: true,
src: [
'**',
'!**/.*',
'!**/readme.md',
'!*.map',
'!node_modules/**',
'!dist/**',
'!vendor/**',
'!node_modules/**',
'!src/**',
'!grunt/**',
'!bower.json',
'!Gruntfile.js',
'!composer.json',
'!composer.lock',
'!phpcs.ruleset.xml',
'!README.md',
'!package.json',
'!package-lock.json'
],
dest: 'dist/<%%= package.name %>/'
},
fontawesome: {
expand: true,
flatten: true,
filter: 'isFile',
src: ['node_modules/font-awesome/fonts/**'],
dest: 'assets/fonts/'
}
};