Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DistOptions

Hierarchy

  • DistOptions

Index

Properties

Optional afterDist

afterDist: Undertaker.TaskFunction

External task to run after {target}:dist

Optional copy

copy: CopyOptions[]

Copy operations to perform when distributing the package. The default copies the Markdown files at the project root (so you get README.md, LICENSE.md, ...).

The base values are:

  • src: project.root
  • dest: dist.distDir

Optional copySrc

copySrc: undefined | false | true

Copy the sources from target.srcDir to target.dist.distDir. Default: true.

Optional distDir

distDir: RelPosixPath

Directory used where the distribution builds will be written.

Relative to project.root Default: join(project.distDir, target.name)

Optional npmPublish

npmPublish: NpmPublishOptions

Optional tscOptions

tscOptions: CustomTscOptions

Compiler options for dist builds.

The resolved options with be the result of merging the simple build options (base) with the dist options (override).

The default value is {declaration: true}.

Methods

Optional packageJsonMap

Generated using TypeDoc