Skip to main content

PackageDescriptor

@webda/core


Interface: PackageDescriptor

Defined in: packages/compiler/lib/definition.d.ts:589

Some package exists but seems pretty big for this https://classic.yarnpkg.com/en/docs/package-json

Properties​

author?​

optional author?: PackageDescriptorAuthor

Defined in: packages/compiler/lib/definition.d.ts:627

The author of the package.


bin?​

optional bin?: string | {[key: string]: string; }

Defined in: packages/compiler/lib/definition.d.ts:643

The executable files for the package.


bugs?​

optional bugs?: string

Defined in: packages/compiler/lib/definition.d.ts:619

The URL to the package's issue tracker.


bundledDependencies?​

optional bundledDependencies?: string[]

Defined in: packages/compiler/lib/definition.d.ts:701

The bundled dependencies of the package.


config?​

optional config?: any

Defined in: packages/compiler/lib/definition.d.ts:665

Configuration options for the package.


contributors?​

optional contributors?: string[] | PackageDescriptorAuthor[]

Defined in: packages/compiler/lib/definition.d.ts:631

The contributors to the package.


cpu?​

optional cpu?: string[]

Defined in: packages/compiler/lib/definition.d.ts:725

The CPU architectures that the package is compatible with.


dependencies?​

optional dependencies?: object

Defined in: packages/compiler/lib/definition.d.ts:669

The dependencies of the package.

Index Signature​

[key: string]: string


description?​

optional description?: string

Defined in: packages/compiler/lib/definition.d.ts:601

A brief description of the package.


devDependencies?​

optional devDependencies?: object

Defined in: packages/compiler/lib/definition.d.ts:675

The development dependencies of the package.

Index Signature​

[key: string]: string


directories?​

optional directories?: object

Defined in: packages/compiler/lib/definition.d.ts:653

The directories in the package.

Index Signature​

[key: string]: string


engines?​

optional engines?: object

Defined in: packages/compiler/lib/definition.d.ts:715

The engines that the package is compatible with.

Index Signature​

[key: string]: string


files?​

optional files?: string[]

Defined in: packages/compiler/lib/definition.d.ts:635

The files included in the package.


flat?​

optional flat?: boolean

Defined in: packages/compiler/lib/definition.d.ts:705

If true, the package will be installed with a flat node_modules structure.


homepage?​

optional homepage?: string

Defined in: packages/compiler/lib/definition.d.ts:615

The homepage URL for the package.


keywords?​

optional keywords?: string[]

Defined in: packages/compiler/lib/definition.d.ts:605

Keywords that describe the package.


license?​

optional license?: string | { name: string; }

Defined in: packages/compiler/lib/definition.d.ts:609

The license for the package.


main?​

optional main?: string

Defined in: packages/compiler/lib/definition.d.ts:639

The entry point to the package.


man?​

optional man?: string | string[]

Defined in: packages/compiler/lib/definition.d.ts:649

The manual pages for the package.


name?​

optional name?: string

Defined in: packages/compiler/lib/definition.d.ts:593

The name of the package.


optionalDependencies?​

optional optionalDependencies?: object

Defined in: packages/compiler/lib/definition.d.ts:695

The optional dependencies of the package.

Index Signature​

[key: string]: string


os?​

optional os?: string[]

Defined in: packages/compiler/lib/definition.d.ts:721

The operating systems that the package is compatible with.


peerDependencies?​

optional peerDependencies?: object

Defined in: packages/compiler/lib/definition.d.ts:681

The peer dependencies of the package.

Index Signature​

[key: string]: string


peerDependenciesMeta?​

optional peerDependenciesMeta?: object

Defined in: packages/compiler/lib/definition.d.ts:687

Metadata for peer dependencies.

Index Signature​

[key: string]: object


private?​

optional private?: boolean

Defined in: packages/compiler/lib/definition.d.ts:729

If true, the package is private and cannot be published.


publishConfig?​

optional publishConfig?: any

Defined in: packages/compiler/lib/definition.d.ts:733

Configuration for publishing the package.


repository?​

optional repository?: string

Defined in: packages/compiler/lib/definition.d.ts:623

The URL to the package's repository.


resolutions?​

optional resolutions?: object

Defined in: packages/compiler/lib/definition.d.ts:709

Resolutions for dependencies.

Index Signature​

[key: string]: string


scripts?​

optional scripts?: object

Defined in: packages/compiler/lib/definition.d.ts:659

The scripts that can be run for the package.

Index Signature​

[key: string]: string


termsOfService?​

optional termsOfService?: string

Defined in: packages/compiler/lib/definition.d.ts:741

The terms of service for the package.


title?​

optional title?: string

Defined in: packages/compiler/lib/definition.d.ts:745

The title of the package.


version?​

optional version?: string

Defined in: packages/compiler/lib/definition.d.ts:597

The version of the package.


webda?​

optional webda?: Partial<WebdaPackageDescriptor>

Defined in: packages/compiler/lib/definition.d.ts:737

Webda specific metadata for the package.