0.0.2 ā€¢ Published 7 years ago

at-types v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

at-types

feature

Typescript utility automatically install all missing @types/* from rootpath 's project's package.json.

 $ yarn add react react-dom
....
 $ at-types i
executing yarn add @types/react @types/react-dom
yarn add v0.23.2
warning No license field
[1/4] šŸ”  Resolving packages...
[2/4] šŸšš  Fetching packages...
[3/4] šŸ”—  Linking dependencies...
[4/4] šŸ“ƒ  Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
ā”œā”€ @types/react-dom@15.5.0
ā””ā”€ @types/react@15.0.22
warning No license field
āœØ  Done in 1.43s.

the list of @types/* were fetched from npms.io 's api when the package is published, available at here or under the project root at-types-list.json

you can run at-types update to update the @types/* available.

cli

i -> install use -e npm if you want to do npm install over yarn add

u -> update