add links to 'directories' field of package.json.

By this way, we also change the html structure of 'directories' field,
make it possible to distinguish 'main' and 'bin' fields from those in
'directories'