NPM Build Utilities @ 0.1.3
    Preparing search index...

    Interface Paths

    Paths to files or directories.

    Absolute or relative to node’s cwd.

    0.1.0-alpha

    interface Paths {
        changelog: string;
        dist:
            | string
            | ((subDir?: DistDirectory) => string)
            | { _?: string; docs?: string; scss?: string };
        notes: { release?: string };
        readme: string;
        release: string;
        scripts: string | { _?: string; logs?: string };
        snapshot: string;
        src:
            | SourceFunction
            | { _?: string } & {
                docs?: string | string[];
                scss?: string | string[];
                ts?: string | string[];
            };
    }
    Index

    Properties

    changelog: string

    Relative path to changelog file.

    dist:
        | string
        | ((subDir?: DistDirectory) => string)
        | { _?: string; docs?: string; scss?: string }

    Destination directories for compiled files.

    notes: { release?: string }

    Relative path to notes files used during development.

    Type declaration

    • Optionalrelease?: string

      Release notes file.

      Used for updating the changelog and the github release notes.

    readme: string

    Relative path to readme file.

    release: string

    Directory for release zip files.

    scripts: string | { _?: string; logs?: string }

    Location of build scripts and related files.

    snapshot: string

    Directory for snapshot zip files.

    src:
        | SourceFunction
        | { _?: string } & {
            docs?: string | string[];
            scss?: string | string[];
            ts?: string | string[];
        }

    Source for files to be compiled.

    • _ expects a directory
    • docs expects a directory (or array of such)
    • scss expects a directory, file path, or globs (or array of such)
    • ts expects a directory or file path (or array of such)