Register a package.json