A custom installer made by me, David
yarn and yarn-dedupe are peer dependencies to dyi
npm -g i dyi yarn yarn-dedupe
dyi
installs and remove packages using yarn
.
dyi -a react react-dom -d ts-node typescript -r babel
Is the equivalent of running
yarn add react react-dom
yarn add ts-node typescript -D
yarn remove babel
yarn-dedupe
yarn
but in just one command. Convenient!