yarn move dependency to dev dependency code example Example: yarn add to dev dependencies yarn add --dev <PACKAGE_NAME>