There's an implicit alias for module.exports that already exists (exports). Instead of using "package" here, you should use: "exports" for this purpose.