bower-typings
Utility to retrieve typescript definitions from bower dependencies using unify.json. See fayde-unify for more information on unify.json.
Usage
require('bower-typings')([options])
options
unifyPath
(default./unify.json
) - path to unify fileincludeSelf
(default: true) - include/exclude typings defined intypings
in ownunify.json
.includeDevSelf
(default: true) - include/exclude typings defined indevTypings
in ownunify.json
.
// Simple - Finds all typings from unify.jsonvar typings = ; // Exclude my own typingsvar typings = includeSelf: false; // Exclude my dev typingsvar typings = includeDevSelf: false;
Scan
require('bower-typings').scan([options])
options
self
(default: true) - include/exclude typings defined in./typings/**/*.d.ts
.
// Simple - Finds all typings in every bower library (including self) in typings directory.var typings = ; // Finds all typings in every bower library (excluding self) in typings directory.var typings = ;