package.json dependencies loop fix