Добавить пряжу зависимости Dev
yarn add -D package
//or
yarn add --dev package
Sleep Overflow
yarn add -D package
//or
yarn add --dev package
Did you mean 'localhost'?
yarn add nameOfPackage --dev