I don’t think it is possible. Documentation does not specify such option, and if you provide at least one flag modifying type of dependencies – all dependencies specified in a command will become this type. If you really want to be one command to paste into command line you could do this:
yarn add react && yarn add webpack -D