@whook/whook
Version:
Build strong and efficient REST web services.
32 lines (31 loc) • 906 B
TypeScript
import { Knifecycle } from 'knifecycle';
export declare const DEFAULT_BUILD_DIR = "server";
export declare const DEFAULT_BUILD_INITIALIZER_PATH_MAP: {
$fatalError: string;
BASE_URL: string;
DEFINITIONS: string;
logger: string;
exit: string;
PORT: string;
HOST: string;
WHOOK_RESOLVED_PLUGINS: string;
httpRouter: string;
httpTransaction: string;
httpServer: string;
apm: string;
obfuscator: string;
errorHandler: string;
APP_CONFIG: string;
PROJECT_DIR: string;
PROCESS_ENV: string;
process: string;
ENV: string;
log: string;
time: string;
delay: string;
random: string;
importer: string;
resolve: string;
};
export declare function prepareBuildEnvironment<T extends Knifecycle>($?: T): Promise<T>;
export declare function runBuild(aPrepareBuildEnvironment: typeof prepareBuildEnvironment): Promise<void>;