module.exports = function (grunt) {
    "use strict";

    var SRC_FILES = "src/**/*.js";

    // Project configuration.
    grunt.initConfig({
        pkg: grunt.file.readJSON("package.json"),
        jsdoc: {
            dist: {
                src: [SRC_FILES],
                options: {
                    destination: "doc",
                }
            }
        },
        jshint: {
            all: ["Gruntfile.js", SRC_FILES],
            options: {
                browser: true,
                curly: true,
                eqeqeq: true,
                forin: true,
                globals: {
                    define: true,
                    module: true,
                    require: true,
                    THREE: true,
                },
                indent: 4,
                noarg: true,
                strict: true,
                trailing: true,
                undef: true,
                unused: true,
            }
        },
        browserify: {
            dist: {
                files: {
                    "dist/graphosaurus.js": "src/**/*.js",
                },
            }
        },
        uglify: {
            dist: {
                files: {
                    "dist/graphosaurus.min.js": "dist/graphosaurus.js"
                }
            }
        },
        watch: {
            files: ["Gruntfile.js", SRC_FILES],
            tasks: "default",
        }
    });

    // Load plugins
    grunt.loadNpmTasks("grunt-contrib-jshint");
    grunt.loadNpmTasks("grunt-contrib-uglify");
    grunt.loadNpmTasks("grunt-contrib-watch");
    grunt.loadNpmTasks("grunt-browserify");
    grunt.loadNpmTasks("grunt-jsdoc");

    // Tasks
    grunt.registerTask("default", ["compile", "doc"]);

    grunt.registerTask("compile", ["jshint", "browserify", "uglify"]);
    grunt.registerTask("doc", ["jsdoc"]);
};

@@ -984,36 +984,44 @@
 : %7B%0A            
-dist
+graphosaurus
 : %7B%0A            
@@ -1020,32 +1020,45 @@
             
-files: %7B
+src: %5B%22src/**/*.js%22%5D,
 %0A           
@@ -1054,35 +1054,37 @@
                 
-   
+dest:
  %22dist/graphosau
@@ -1094,42 +1094,8 @@
 .js%22
-: %22src/**/*.js%22,%0A                %7D
 ,%0A  

Simplify grunt-browserify config