pure/tasks/bower_json.js
2014-02-06 17:44:02 -05:00

9 lines
296 B
JavaScript

'use strict';
module.exports = function (grunt) {
grunt.registerMultiTask('bower_json', 'Modifies bower.json "main".', function () {
grunt.config('bower.main', this.data.main);
grunt.file.write('build/bower.json', JSON.stringify(grunt.config('bower'),null,' '));
});
};