bower/bower-json — pull request #1 by dylang (2013-05-06 21:06:56+00:00)
Title: Made the error message more understandable.

Before:
```
Folder has no json file
```

After:
```
Neither bower.json nor component.json were found in
```

I ran into this error when using `bowser-json` in a project outside of bower. The original error message had no context and there were json files in the folder it was looking at, just not the right ones.