Removing unnecessary npm package dependencies