1 |
|
2 | import { Stats } from "fs-extra-p";
|
3 | import { Lazy } from "lazy-val";
|
4 | export interface Dependency {
|
5 | name: string;
|
6 | version: string;
|
7 | path: string;
|
8 | extraneous: boolean;
|
9 | optional: boolean;
|
10 | dependencies: Map<string, Dependency> | null;
|
11 | directDependencyNames: Array<string> | null;
|
12 | peerDependencies: {
|
13 | [key: string]: any;
|
14 | } | null;
|
15 | optionalDependencies: {
|
16 | [key: string]: any;
|
17 | } | null;
|
18 | realName: string;
|
19 | link?: string;
|
20 | parent?: Dependency;
|
21 | stat?: Stats;
|
22 | }
|
23 | export declare function createLazyProductionDeps(projectDir: string): Lazy<Dependency[]>;
|