0.1.9 • Published 4 years ago
tss-installer v0.1.9
Install Packages with their types
Ever installed a package to later find out that you don't have that package's @typings/ installed ? If yes, this is the solution for that.
How to Install
npm install tss-installerUpdate package.json to add two scripts."scripts": { "ti": "tss-installer install", "tu": "tss-installer uninstall" }
How to use
To install a package with it's typings
npm run ti PACKAGE_NAME -- -D # Supports same flags as npmor
pnpm run ti PACKAGE_NAME -- -D #Supports same flags as pnpmor
yarn run ti PACKAGE_NAME -- --save-dev # Supports same flags as yarnTo uninstall a package and it's typings
npm run tu PACKAGE_NAMEor
pnpm run tu PACKAGE_NAMEor
yarn run tu PACKAGE_NAME
Demo
Earlier
Installation

Uninstallation

Now
Installation
Uninstallation
