Agregar hilo de dependencia del desarrollo
yarn add -D package
//or
yarn add --dev package
Sleep Overflow
yarn add -D package
//or
yarn add --dev package
yarn add nameOfPackage --dev
yarn add --dev <PACKAGE_NAME>