node package manager



grunt plugin enabling developers to build their code using require.js's dependency management features

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-requirejs-tasks

Then add this line to your project's grunt.js gruntfile:


Example Config

requirejs-concat: {
      src: 'src/file.js',
      dest: 'dist/file.min.js'
      src: 'src/file.js',
      dest: 'dist/file.js',
      opts : { 

This will add a 'requirejs-concat' task to your grunt file which concatinates and minifies according to dependencies specified via requirejs


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.


Copyright (c) 2012 Alan Clarke
Licensed under the MIT license.