Skip to content

NodeRuntime

@tsed/cli

Usage

typescript
import { NodeRuntime } from "@tsed/cli";

See /packages/cli/src/runtimes/supports/NodeRuntime.ts.

Overview

ts
class NodeRuntime extends BaseRuntime {
    readonly name: string;
    readonly cmd: string;
    readonly order: number;
    files(): string[];
    startDev(main: string): string;
    startProd(main: string): string;
    compile(src: string, out: string): string;
    dependencies(): Record<string, any>;
    devDependencies(): Record<string, any>;
}

readonly name

ts
readonly name: string;

readonly cmd

ts
readonly cmd: string;

readonly order

ts
readonly order: number;

files

ts
files(): string[];

startDev

ts
startDev(main: string): string;

startProd

ts
startProd(main: string): string;

compile

ts
compile(src: string, out: string): string;

dependencies

ts
dependencies(): Record<string, any>;

devDependencies

ts
devDependencies(): Record<string, any>;

Released under the MIT License.