node package manager

grunt-shimly

grunt-shimly Built with Grunt dependency Status Downloads

Create a JavaScript shim set using grunt.

List of shims:

See shimly

Usage:

grunt.loadNpmTasks('grunt-shimly');

Grunt file config entry:

// ... 
    shimly: {
      // things you would like to shim (an array of items from the list above) 
      shim: ['Array.filter', 'Function.bind', 'localStorage'],
      // output location (relative to your grunt.js file location) 
      dest: 'build/shims.js',
      // minify the output (true or false) 
      minify: false
    },
// ...