{
  "name": "grunt-bower-requirejs",
  "version": "0.7.1",
  "description": "Automagically wire-up installed Bower components into your RequireJS config",
  "keywords": [
    "gruntplugin",
    "bower",
    "requirejs",
    "rjs",
    "config",
    "wire",
    "install",
    "component",
    "package",
    "module"
  ],
  "homepage": "https://github.com/yeoman/grunt-bower-requirejs",
  "bugs": {
    "url": "https://github.com/yeoman/grunt-bower-requirejs/issues"
  },
  "license": "BSD",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "http://sindresorhus.com"
  },
  "maintainers": [
    {
      "name": "Rob Dodson",
      "email": "lets.email.rob@gmail.com",
      "url": "http://robdodson.me"
    }
  ],
  "contributors": [
    {
      "name": "Merrick Christensen",
      "email": "merrick.christensen@gmail.com",
      "url": "http://merrickchristensen.com"
    }
  ],
  "main": "Gruntfile.js",
  "repository": {
    "type": "git",
    "url": "git://github.com/yeoman/grunt-bower-requirejs.git"
  },
  "scripts": {
    "test": "grunt test"
  },
  "dependencies": {
    "requirejs": "~2.1.5",
    "slash": "~0.1.0"
  },
  "devDependencies": {
    "matchdep": "~0.1.1",
    "grunt": "~0.4.0",
    "grunt-contrib-jshint": "~0.6.2",
    "grunt-contrib-clean": "~0.5.0",
    "grunt-contrib-copy": "~0.4.0",
    "grunt-contrib-nodeunit": "~0.2.0",
    "bower": "~1.x",
    "durable-json-lint": "0.0.1"
  },
  "peerDependencies": {
    "grunt": "~0.4.0",
    "bower": "~1.x"
  },
  "engines": {
    "node": ">=0.8.0"
  },
  "files": [
    "tasks/bower-requirejs.js"
  ],
  "readme": "# grunt-bower-requirejs [![Build Status](https://secure.travis-ci.org/yeoman/grunt-bower-requirejs.png?branch=master)](http://travis-ci.org/yeoman/grunt-bower-requirejs)\n\nAutomagically wire-up installed Bower components into your RequireJS config\n\n\n## Getting Started\n\nIf you haven't used [grunt][] before, be sure to check out the [Getting Started][] guide, as it explains how to create a [gruntfile][Getting Started] as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:\n\n```shell\nnpm install grunt-bower-requirejs --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-bower-requirejs');\n```\n\n[grunt]: http://gruntjs.com\n[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md\n\n\n## Example usage\n\n```js\ngrunt.initConfig({\n\tbower: {\n\t\ttarget: {\n\t\t\trjsConfig: 'app/config.js'\n\t\t}\n\t}\n});\n\ngrunt.loadNpmTasks('grunt-bower-requirejs');\n\ngrunt.registerTask('default', ['bower']);\n```\n\n\n## Documentation\n\nWhen the `bower` task is run it merges the paths of installed Bower components into the `paths` property of your RequireJS config.\n\nYou trigger this task from another task in your Gruntfile or through the CLI: `grunt bower`\n\n\n### rjsConfig\n\n**Required**  \nType: `String`\n\nSpecify a relative path to your RequireJS config.\n\nMake sure to specify the `baseUrl` property in your RequireJS config if you want to use relative paths.\n\n\n### Options\n\n#### exclude\n\nDefault: `[]`  \nType: `Array`\n\nSpecify components to be excluded from being added to the RequireJS config.\n\n#### baseUrl\n\nDefault: `null`  \nType: `String`\n\nGenerate paths relative to a specific directory. This option is for anyone **not** using `data-main` who wishes to set their own base.\n\n\n## Things to remember\n\n### Config file\n\nYou need to already have a config.js file at the location specified by `rjsConfig`. At a minimum, the file should look like this:\n\n``` js\nrequirejs.config({\n\tbaseUrl: './',\n\tpaths: {}\n});\n```\n\nYou still need to create a path for *your* js files. The grunt task will only create paths for third party libraries specified in `bower.json`.\n\n``` js\nrequirejs.config({\n\tbaseUrl: './',\n\tpaths: {\n\t\tmyComponent: 'js/myComponent.js'\n\t}\n});\n```\n\nThe task does not overwrite the config file, it just adds additional paths to it. So paths you add will be preserved. Keep in mind that if you change or remove one of your bower dependencies after you've run the task, that path will still exist in the config file and you'll need to manually remove it.\n\n### RequireJS component\n\nAlthough RequireJS does not provide a `bower.json` file, a path to `require.js` will still be created in your `rjsConfig` file. The path's name will be `requirejs`. If you are optimizing your scripts with `r.js` you can use this path to make sure RequireJS is included in your bundle.\n\n\n## License\n\n[BSD license](http://opensource.org/licenses/bsd-license.php) and copyright Google\n",
  "readmeFilename": "readme.md",
  "_id": "grunt-bower-requirejs@0.7.1",
  "dist": {
    "shasum": "34e2ecf92339e847c8e9476602c52c5a24ed3830"
  },
  "_from": "grunt-bower-requirejs@~0.7.0",
  "_resolved": "https://registry.npmjs.org/grunt-bower-requirejs/-/grunt-bower-requirejs-0.7.1.tgz"
}
