npm.io
1.0.2 • Published 10 years agoCLI

package-to-typings

Licence
ISC
Version
1.0.2
Deps
0
Vulns
0
Weekly
0

package-to-typings

Generates a typings.json from the package.json file.

Usage: Run 'package-to-typings' in the root of your project where package.json lives. IT WILL OVERWRITE ANY TYPINGS.JSON ON THAT DIRECTORY

It travels all the dependency tree of the dependencies found in package.json "dependencies". For each dependency, it checks if the dt provider has a Typescript definition file, and if it founds one, it collects it and at the end writes a typings.json with all the defs.