Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

azuki-trusty / azk   deb

Repository URL to install this package:

Version: 0.5.1 

/ usr / lib / azk / node_modules / moment / tasks / component.js

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');
    });
}