package.json needs to be in the root of the package.  Also, npm now supports referencing git repos but only when package.json is in the root.