text: "use strict";
  
  module.exports = function(grunt) {
  
      // Project configuration.
      grunt.initConfig({
          pkg: grunt.file.readJSON("package.json"),
  
          browserify: {
              build: {
                  files: {
                      "build/<%= pkg.name %>.js": ["lib/index.js"]
                  }
              },
              options: {
                  browserifyOptions: {
                      debug: true,
                      "standalone": "Tinu"
                  }
              }
          },
  
          uglify: {
              build: {
                  files: {
                      "build/<%= pkg.name %>.min.js": ["build/<%= pkg.name %>.js"]
                  }
              }
          },
  
          watch: {
              js: {
                  files: ["lib/*.js"],
                  tasks: ["browserify"],
                  options: {
                      spawn: false
                  }
              }
          },
  
          clean: {
              dist: ["build"]
          },
  
      });
  
  
      grunt.loadNpmTasks("grunt-contrib-clean");
      grunt.loadNpmTasks("grunt-contrib-uglify");
      grunt.loadNpmTasks("grunt-browserify");
      grunt.loadNpmTasks("grunt-contrib-watch");
  
      grunt.registerTask("default", ["browserify", "uglify"]);
  
  };
  