Skip to main content

BackstagePackageJson

Home > @backstage/cli-node > BackstagePackageJson

Known fields in Backstage package.json files.

Signature:

export interface BackstagePackageJson 

Properties

Property

Modifiers

Type

Description

backstage?

{ role?: PackageRole; moved?: string; inline?: boolean; pluginId?: string | null; pluginPackage?: string; pluginPackages?: string[]; }

(Optional)

bundled?

boolean

(Optional)

dependencies?

{ [key: string]: string; }

(Optional)

devDependencies?

{ [key: string]: string; }

(Optional)

exports?

JsonValue

(Optional)

files?

string[]

(Optional)

main?

string

(Optional)

module?

string

(Optional)

name

string

optionalDependencies?

{ [key: string]: string; }

(Optional)

peerDependencies?

{ [key: string]: string; }

(Optional)

private?

boolean

(Optional)

publishConfig?

{ access?: 'public' | 'restricted'; directory?: string; registry?: string; }

(Optional)

repository?

string | { type: string; url: string; directory: string; }

(Optional)

scripts?

{ [key: string]: string; }

(Optional)

types?

string

(Optional)

typesVersions?

Record<string, Record<string, string[]>>

(Optional)

version

string