adding self as dependency in generated package.json