JSPM CLI
    Preparing search index...

    Interface PublishFlags

    Flags for publishing packages to providers.

    Used by the jspm publish command to publish packages to JSPM providers.

    interface PublishFlags {
        map?: string;
        conditions?: string | string[];
        resolution?: string | string[];
        provider?: string;
        cache?: string;
        quiet?: boolean;
        showVersion?: boolean;
        dir?: string;
        disableWarning?: string | string[];
        watch?: boolean;
        name?: string;
        version?: string;
        usage?: boolean;
        eject?: boolean;
    }

    Hierarchy

    Index

    Properties

    map?: string

    File containing initial import map (defaults to importmap.json, supports .js with embedded JSON, or HTML with inline import map)

    conditions?: string | string[]

    Comma-separated environment condition overrides or array of conditions (defaults to ['browser', 'development', 'module'] in normal mode, or ['browser', 'production', 'module'] in production mode)

    resolution?: string | string[]

    Comma-separated dependency resolution overrides or array of resolutions (no default, used to override specific package versions)

    provider?: string

    Default module provider to use (e.g., 'jspm.io', 'unpkg', 'jsdelivr', etc.) (defaults to user's configured defaultProvider or 'jspm.io')

    cache?: string

    Cache mode for fetches (defaults to 'online', accepts 'online', 'offline', 'no-cache')

    quiet?: boolean

    Suppress non-essential output (defaults to false)

    showVersion?: boolean

    Display version information (defaults to false)

    dir?: string

    Directory to operate in (defaults to current working directory)

    disableWarning?: string | string[]

    Comma-separated list of warnings to disable (e.g., 'file-count')

    watch?: boolean

    Watch for changes and republish (experimental, defaults to false)

    name?: string

    Custom name to use instead of package.json name (defaults to name in package.json)

    version?: string

    Custom version to use instead of package.json version (defaults to version in package.json)

    usage?: boolean

    Print HTML/JS import code examples after successful publish (defaults to true)

    eject?: boolean

    Eject a published package instead of publishing (defaults to false)