1 |
|
2 | import { GulpProxy } from './GulpProxy';
|
3 | import { IExecutable } from './IExecutable';
|
4 | import { IBuildConfig } from './IBuildConfig';
|
5 | import { CopyStaticAssetsTask } from './tasks/copyStaticAssets/CopyStaticAssetsTask';
|
6 | export { IExecutable } from './IExecutable';
|
7 | import * as Gulp from 'gulp';
|
8 | import { JestTask } from './tasks/JestTask';
|
9 | export * from './IBuildConfig';
|
10 | export { addSuppression, coverageData, functionalTestRun, getErrors, getWarnings, TestResultState, warn, verbose, error, fileError, fileLog, fileWarning, reset, log, logSummary } from './logging';
|
11 | export * from './tasks/CopyTask';
|
12 | export * from './tasks/GenerateShrinkwrapTask';
|
13 | export * from './tasks/GulpTask';
|
14 | export * from './tasks/CleanTask';
|
15 | export * from './tasks/CleanFlagTask';
|
16 | export * from './tasks/ValidateShrinkwrapTask';
|
17 | export * from './tasks/copyStaticAssets/CopyStaticAssetsTask';
|
18 | export * from './tasks/JestTask';
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | export declare function setConfig(config: Partial<IBuildConfig>): void;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare function mergeConfig(config: Partial<IBuildConfig>): void;
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | export declare function replaceConfig(config: IBuildConfig): void;
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 | export declare function getConfig(): IBuildConfig;
|
46 |
|
47 | export declare const cleanFlag: IExecutable;
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 | export declare function task(taskName: string, taskExecutable: IExecutable): IExecutable;
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 | export interface ICustomGulpTask {
|
63 | (gulp: typeof Gulp | GulpProxy, buildConfig: IBuildConfig, done?: (failure?: any) => void): Promise<object> | NodeJS.ReadWriteStream | void;
|
64 | }
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 | export declare function subTask(taskName: string, fn: ICustomGulpTask): IExecutable;
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 |
|
81 |
|
82 |
|
83 | export declare function watch(watchMatch: string | string[], taskExecutable: IExecutable): IExecutable;
|
84 |
|
85 |
|
86 |
|
87 |
|
88 | export declare function serial(...tasks: (IExecutable[] | IExecutable)[]): IExecutable;
|
89 |
|
90 |
|
91 |
|
92 |
|
93 | export declare function parallel(...tasks: (IExecutable[] | IExecutable)[]): IExecutable;
|
94 |
|
95 |
|
96 |
|
97 |
|
98 | export declare function initialize(gulp: typeof Gulp): void;
|
99 |
|
100 | export declare const clean: IExecutable;
|
101 |
|
102 | export declare const copyStaticAssets: CopyStaticAssetsTask;
|
103 |
|
104 | export declare const jest: JestTask;
|
105 |
|
\ | No newline at end of file |