Add link function to main in package.json