A handler for the webant module for JSON requires.
npm install webant-handler-json_Require JSON files with webant_
$ npm install webant-handler-json
Ensure the json handler is present in your webant configuration file. For example:
```json``
{
"entry":"src/js/main.js",
"dest":"build/main.js",
"handlers":["json"]
}
You may now require JSON files:
``javascript```
var data = require("./path/to/data.json");
Ensure phantomjs is installed and in your PATH, then run:
$ npm test