Automagically wire-up installed Bower components into your Buster.JS config
Adapted from grunt-bower-requirejs which does the same for RequireJS. Thanks!
If you haven't used grunt before, be sure to check out the Getting Started guide, as it explains how to create a gruntfile as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:
npm install grunt-bower-busterjs --save-dev
bowerbuster task is run generates a JSON file (default name: bowerbuster.json)
with the installed Bower components in it.
This file can then be loaded in your buster.js:
var fs = ;var sources = JSON;sources; // add local sources under test
and then use these sources in the buster config:
config"my tests" =...sources: sources...;
You trigger this task from another task in your Gruntfile or through
Specify a relative path to the .json file to dump.
Specify components to be excluded from being added to the .json file.