mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 09:13:23 -05:00
11 lines
351 B
JavaScript
11 lines
351 B
JavaScript
module.exports = function (grunt) {
|
|
grunt.registerTask('component', function () {
|
|
var config = JSON.parse(grunt.file.read('component.json'));
|
|
|
|
config.files = grunt.file.expand('locale/*.js');
|
|
config.files.unshift('moment.js');
|
|
|
|
grunt.file.write('component.json', JSON.stringify(config, true, 2) + '\n');
|
|
});
|
|
};
|