fix #33 (handling of package.json)