forked from foundation/foundation-sites
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
37 lines (36 loc) · 934 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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: {
}
}
});
};