foundation-sites-5
Version:
**This package is only for versions 5 and earlier of Foundation. As of version 6, the package has a new name: `foundation-sites`.**
37 lines (36 loc) • 934 B
JavaScript
module.exports = function(grunt) {
// Define project configuration
var project = {
paths: {
get config() {
return this.grunt + 'config/';
},
dist: 'dist/',
doc: 'doc/',
grunt: 'grunt/',
js: 'js/',
sassLoad: __dirname + '/scss',
scss: 'scss/',
spec: 'spec/',
vendor: grunt.file.readJSON('.bowerrc').directory + '/'
},
files: {
get config() {
return project.paths.config + '*.js';
},
grunt: 'Gruntfile.js',
js: ['js/foundation/foundation.js', 'js/foundation/*.js'],
scss: ['scss/foundation.scss', 'scss/settings.scss']
},
pkg: grunt.file.readJSON('package.json')
};
// Load Grunt configurations and tasks
require('load-grunt-config')(grunt, {
configPath: require('path').join(process.cwd(), project.paths.config),
data: project,
jitGrunt: {
staticMappings: {
}
}
});
};