2016-04-11 15:26:20 -04:00
|
|
|
/**
|
|
|
|
|
* Grunt Task Wrangler
|
|
|
|
|
*
|
|
|
|
|
* @copyright Copyright © 2016 Locomotive
|
|
|
|
|
* @license Licensed under the MIT license.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
module.exports = function (grunt)
|
|
|
|
|
{
|
2016-08-22 10:30:46 -04:00
|
|
|
var path = require('path');
|
2016-04-11 15:26:20 -04:00
|
|
|
|
2016-08-22 10:30:46 -04:00
|
|
|
require('load-grunt-config')(grunt, {
|
|
|
|
|
configPath: path.join(process.cwd(), 'build/grunt/config'),
|
|
|
|
|
data: {
|
|
|
|
|
paths: {
|
|
|
|
|
grunt: 'build/grunt',
|
|
|
|
|
npm: 'node_modules',
|
|
|
|
|
js: {
|
|
|
|
|
src: 'assets/scripts',
|
|
|
|
|
dist: 'www/assets/scripts'
|
|
|
|
|
},
|
|
|
|
|
css: {
|
|
|
|
|
src: 'assets/styles',
|
|
|
|
|
dist: 'www/assets/styles'
|
|
|
|
|
},
|
|
|
|
|
img: {
|
|
|
|
|
src: 'assets/images',
|
|
|
|
|
dist: 'www/assets/images'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
2014-09-29 14:05:34 -04:00
|
|
|
};
|