yarn |
npm |
yarn init | npm init |
yarn | npm install |
yarn global add xxx@xxx | npm install -g xxx@xxx |
yarn add xxx@xxx | npm install --save xxx@xxx |
yarn add xxx@xxx --dev | npm install --save-dev xxx@xxx |
yarn remove xxx | npm uninstall xxx --save(-dev) |
yarn run xxx | npm run xxx |