ts-node-builder
Version:
46 lines (45 loc) • 1.3 kB
TypeScript
import { JsonObject } from '@angular-devkit/core';
export interface Options extends JsonObject {
/**
* @description this is the main file to run in the output path
*/
mainInOutput: string;
/**
* @description tsconfig.json path
*/
tsconfig: string;
/**
* @description array file paths to make nodemon watch (optional)
*/
watch: string[];
/**
* @description if you want to set the node env
* @default development
*/
NODE_ENV: string;
/**
* @description this is the delay in seconds which is passed to nodemon it's measured in seconds
* ex: 1 , 2 or 2000ms or 1.5 = 1500ms
* @default 1.5 seconds
*/
delayBetweenRestarts: number;
/**
* @description this is a flag to run the process in debug mode
* @default false
*/
debug: boolean;
/**
* @description this is the debug port it's 9229 by default
*/
debugPort: number;
/**
* @description optional copy command usually will be used for assests , and stuff
* that should be copied to the build destination
*/
copy: {
from: string;
to: string;
}[];
}
declare let buildFunc: import("@angular-devkit/architect/src/internal").Builder<Options>;
export default buildFunc;