README
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-installer
Update 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 npm
or
pnpm run ti PACKAGE_NAME -- -D #Supports same flags as pnpm
or
yarn run ti PACKAGE_NAME -- --save-dev # Supports same flags as yarn
To uninstall a package and it's typings
npm run tu PACKAGE_NAME
or
pnpm run tu PACKAGE_NAME
or
yarn run tu PACKAGE_NAME
Demo
Earlier
Installation
Uninstallation
Now
Installation Uninstallation