npm-submodules
Version:
Simple way to manage typescipt and angular2 submodules from one repository
10 lines (9 loc) • 320 B
TypeScript
/**
* Will try to find package.json in src folder
* if not found will search in 1st level of directories
* Returns list of directories with package.json
* project - string, relative path to folder
*/
export declare function findSubmodules(project: string, options?: {
local: boolean;
}): Promise<TsmOptions[]>;