1 | export interface IProjectConfig {
|
2 | packages: (ILibraryPackageConfig | IClientPackageConfig | IServerPackageConfig)[];
|
3 | tests?: ITestPackageConfig[];
|
4 | localDependencies?: { [key: string]: string };
|
5 | env?: { [key: string]: string };
|
6 | "env.development"?: { [key: string]: string };
|
7 | "env.production"?: { [key: string]: string };
|
8 | }
|
9 |
|
10 | export interface ILibraryPackageConfig {
|
11 | name: string;
|
12 | type: "library";
|
13 | publish?: boolean;
|
14 | }
|
15 |
|
16 | export interface IClientPackageConfig {
|
17 | name: string;
|
18 | type: "client";
|
19 | favicon?: string;
|
20 | platforms?: ("web" | "desktop" | "android")[];
|
21 | devServer?: {
|
22 | host?: string | string[];
|
23 | port: number;
|
24 | };
|
25 | cordova?: ICordovaConfig;
|
26 | publish?: IPublishConfig | false;
|
27 | env?: { [key: string]: string };
|
28 | "env.development"?: { [key: string]: string };
|
29 | "env.production"?: { [key: string]: string };
|
30 | }
|
31 |
|
32 | export interface IServerPackageConfig {
|
33 | name: string;
|
34 | type: "server";
|
35 | publish?: IPublishConfig | false;
|
36 | env?: { [key: string]: string };
|
37 | "env.development"?: { [key: string]: string };
|
38 | "env.production"?: { [key: string]: string };
|
39 | }
|
40 |
|
41 | export interface IPublishConfig {
|
42 | host: string;
|
43 | port: number;
|
44 | username: string;
|
45 | password: string;
|
46 | path: string;
|
47 | }
|
48 |
|
49 | export interface ITestPackageConfig {
|
50 | name: string;
|
51 | packages: string[];
|
52 | jsdom?: {
|
53 | url?: string;
|
54 | };
|
55 | angular?: {
|
56 | url?: string;
|
57 | };
|
58 | }
|
59 |
|
60 | export interface ICordovaConfig {
|
61 | appId: string;
|
62 | name?: string;
|
63 | plugins?: string[];
|
64 | sign?: string;
|
65 | icon?: string;
|
66 | }
|