Tambahkan benang ketergantungan dev
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>