just-scripts
Version:
Just Stack Scripts
32 lines • 1.01 kB
TypeScript
/// <reference types="node" />
import { SpawnOptions } from 'child_process';
import { TaskFunction } from 'just-task';
export interface NodeExecTaskOptions {
/**
* Arguments to be passed into a spawn call for webpack dev server. This can be used to do things
* like increase the heap space for the JS engine to address out of memory issues.
*/
args?: string[];
/**
* Environment variables to be passed to the webpack-cli
*/
env?: NodeJS.ProcessEnv;
/**
* Should this nodeExec task be using something like ts-node to execute the binary
*/
enableTypeScript?: boolean;
/**
* The tsconfig file to pass to ts-node for Typescript config
*/
tsconfig?: string;
/**
* Transpile the config only
*/
transpileOnly?: boolean;
/**
* Custom spawn options
*/
spawnOptions?: SpawnOptions;
}
export declare function nodeExecTask(options: NodeExecTaskOptions): TaskFunction;
//# sourceMappingURL=nodeExecTask.d.ts.map