cloudhead/node-static — Issue #46: Invalid dependencies format in package.json
Author: gabipetrovay
Created: 2012-02-21 21:08:04+00:00
State: open

Hi,

in package.json, "dependencies" is an array (empty). This is not a correct format according to the package.json specification:

http://wiki.commonjs.org/wiki/Packages/1.1#Package_Descriptor_File
or
http://package.json.nodejitsu.com/

This causes an `npm install` to throw a warning if called from a package that that already has node-static installed in its node_modules.

```
npm WARN node-static@0.5.9 dependencies field should be hash of : pairs
```