Skip to content

Instantly share code, notes, and snippets.

@1natsu172
Last active April 10, 2019 03:34
Show Gist options
  • Save 1natsu172/d1a3b188aa21d3a5f8ebd79a93d1293f to your computer and use it in GitHub Desktop.
Save 1natsu172/d1a3b188aa21d3a5f8ebd79a93d1293f to your computer and use it in GitHub Desktop.
@foo/barみたいな形式の大量のnpmパッケージをちょっとラクしてインストールする方法 ref: https://qiita.com/1natsu172/items/b9a0e2befcf3122cccc7
$ yarn add -D @types/react-collapsible @types/react-dom @types/react-image-gallery @types/react-modal @types/react-router-dom @types/react-swipeable-views @types/react-virtualized
$ yarn add -D @types/{react-collapsible,react-dom,react-image-gallery,react-modal,react-router-dom,react-swipeable-views,react-virtualized}
$ echo @types/{react-collapsible,react-dom,react-image-gallery,react-modal,react-router-dom,react-swipeable-views,react-virtualized}
@types/react-collapsible @types/react-dom @types/react-image-gallery @types/react-modal @types/react-router-dom @types/react-swipeable-views @types/react-virtualized
$ yarn add -D @types/react-{collapsible,dom,image-gallery,modal,router-dom,swipeable-views,virtualized}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment