adds required package to package.json