RaveJS/rave — pull request #28 by KidkArolis (2014-06-02 20:21:23+00:00)
Title: Set npm and bower package location to the root of the package

Fixes #24

This preserves the node behaviour, where relative requires
within nested main work as expected. E.g. a package with

"name": "mypkg",
"main": "./lib/index"

can use files from the package root in the main file like so

require("../foo/bar")

Other packages can read files from anywhere in the package
regardless of whether the main is nested, e.g.

require("mypkg/foo/bar")