text: module.exports = function(grunt) {
  
  	grunt.initConfig({
  		pkg: grunt.file.readJSON('package.json'),
  		clean: [ "dist/" ],
  		browserify: {
  			dist: {
  				src: "index.js",
  				dest: "dist/virtual-trackr.js",
  				options: {
  					external: [ "trackr" ],
  					browserifyOptions: { standalone: "vtrackr" }
  				}
  			}
  		},
  		concat: {
  			dist: {
  				files: [{
  					expand: true,
  					cwd: "dist/",
  					src: [ "*.js" ],
  					dest: "dist/",
  					isFile: true
  				}],
  				options: {
  					banner: "/*\n * Virtual Trackr\n * (c) 2015 Tyler Johnson\n * MIT License\n * Version <%= pkg.version %>\n */\n\n"
  				}
  			}
  		},
  		uglify: {
  			dist: {
  				src: "dist/virtual-trackr.js",
  				dest: "dist/virtual-trackr.min.js"
  			}
  		}
  	});
  
  	grunt.loadNpmTasks('grunt-contrib-clean');
  	grunt.loadNpmTasks('grunt-browserify');
  	grunt.loadNpmTasks('grunt-contrib-uglify');
  	grunt.loadNpmTasks('grunt-contrib-concat');
  
  	grunt.registerTask('default', [ 'clean', 'browserify', 'uglify', 'concat' ]);
  }
  