Options
All
  • Public
  • Public/Protected
  • All
Menu

External module project

This module defines the general configuration of the project.

Index

Functions

registerProjectTasks

  • registerProjectTasks(): void

resolveProject

  • Resolve absolute paths for project locations. This creates a shallow copy of the project configuration. If the project was already resolved, it will compute the resolved values again anyway so you it guarantees that the result is coherent.

    Parameters

    • project: Project

      Project configuration.

    Returns ResolvedProject

    Project configuration with resolved paths.

Object literals

Const DEFAULT_PROJECT

DEFAULT_PROJECT: object

Preconfigured project configuration. It uses process.cwd() as the root and assumes a standard project structure.

buildDir

buildDir: string = "build"

distDir

distDir: string = "dist"

packageJson

packageJson: string = "package.json"

root

root: string = process.cwd()

srcDir

srcDir: string = "src"

typescript

typescript: TypescriptOptions = DEFAULT_TYPESCRIPT_OPTIONS

tslint

tslint: object

tslintJson

tslintJson: string = "tslint.json"

Generated using TypeDoc