making package.json valid for a hook-module