{"size": 867, "ext": "js", "max_stars_repo_path": "Gruntfile.js", "max_stars_repo_name": "prakash118/git-branching-futurama", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Gruntfile.js", "max_issues_repo_name": "prakash118/git-branching-futurama", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Gruntfile.js", "max_forks_repo_name": "prakash118/git-branching-futurama", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.1463414634, "max_line_length": 71, "alphanum_fraction": 0.369088812}
module.exports = function(grunt) {

    grunt.initConfig({

        express: {
            all: {
                options: {
                    port: 9000,
                    hostname: "0.0.0.0",
                    bases: 'src', 
                    livereload: true
                }
            }
        },

        watch: {
            all: {
                files: 'src/index.html',
                options: {
                    livereload: true
                }
            }
        },

        open: {
            all: {
                path: 'http://localhost:<%= express.all.options.port%>'
            }
        }
    });

    grunt.loadNpmTasks('grunt-express');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-open');

    grunt.registerTask('default', [
        'express',
        'open',
        'watch'
        ]);
};