PackageDescriptor
Interface: PackageDescriptor
Defined in: packages/compiler/lib/definition.d.ts:487
Some package exists but seems pretty big for this https://classic.yarnpkg.com/en/docs/package-json
Properties
author?
optionalauthor?:PackageDescriptorAuthor
Defined in: packages/compiler/lib/definition.d.ts:525
The author of the package.
bin?
optionalbin?:string| {[key:string]:string; }
Defined in: packages/compiler/lib/definition.d.ts:541
The executable files for the package.
bugs?
optionalbugs?:string
Defined in: packages/compiler/lib/definition.d.ts:517
The URL to the package's issue tracker.
bundledDependencies?
optionalbundledDependencies?:string[]
Defined in: packages/compiler/lib/definition.d.ts:599
The bundled dependencies of the package.
config?
optionalconfig?:any
Defined in: packages/compiler/lib/definition.d.ts:563
Configuration options for the package.
contributors?
optionalcontributors?:string[] |PackageDescriptorAuthor[]
Defined in: packages/compiler/lib/definition.d.ts:529
The contributors to the package.
cpu?
optionalcpu?:string[]
Defined in: packages/compiler/lib/definition.d.ts:623
The CPU architectures that the package is compatible with.
dependencies?
optionaldependencies?:object
Defined in: packages/compiler/lib/definition.d.ts:567
The dependencies of the package.
Index Signature
[key: string]: string
description?
optionaldescription?:string
Defined in: packages/compiler/lib/definition.d.ts:499
A brief description of the package.
devDependencies?
optionaldevDependencies?:object
Defined in: packages/compiler/lib/definition.d.ts:573
The development dependencies of the package.
Index Signature
[key: string]: string
directories?
optionaldirectories?:object
Defined in: packages/compiler/lib/definition.d.ts:551
The directories in the package.
Index Signature
[key: string]: string
engines?
optionalengines?:object
Defined in: packages/compiler/lib/definition.d.ts:613
The engines that the package is compatible with.
Index Signature
[key: string]: string
files?
optionalfiles?:string[]
Defined in: packages/compiler/lib/definition.d.ts:533
The files included in the package.
flat?
optionalflat?:boolean
Defined in: packages/compiler/lib/definition.d.ts:603
If true, the package will be installed with a flat node_modules structure.
homepage?
optionalhomepage?:string
Defined in: packages/compiler/lib/definition.d.ts:513
The homepage URL for the package.
keywords?
optionalkeywords?:string[]
Defined in: packages/compiler/lib/definition.d.ts:503
Keywords that describe the package.
license?
optionallicense?:string| {name:string; }
Defined in: packages/compiler/lib/definition.d.ts:507
The license for the package.
main?
optionalmain?:string
Defined in: packages/compiler/lib/definition.d.ts:537
The entry point to the package.
man?
optionalman?:string|string[]
Defined in: packages/compiler/lib/definition.d.ts:547
The manual pages for the package.
name?
optionalname?:string
Defined in: packages/compiler/lib/definition.d.ts:491
The name of the package.
optionalDependencies?
optionaloptionalDependencies?:object
Defined in: packages/compiler/lib/definition.d.ts:593
The optional dependencies of the package.
Index Signature
[key: string]: string
os?
optionalos?:string[]
Defined in: packages/compiler/lib/definition.d.ts:619
The operating systems that the package is compatible with.
peerDependencies?
optionalpeerDependencies?:object
Defined in: packages/compiler/lib/definition.d.ts:579
The peer dependencies of the package.
Index Signature
[key: string]: string
peerDependenciesMeta?
optionalpeerDependenciesMeta?:object
Defined in: packages/compiler/lib/definition.d.ts:585
Metadata for peer dependencies.
Index Signature
[key: string]: object
private?
optionalprivate?:boolean
Defined in: packages/compiler/lib/definition.d.ts:627
If true, the package is private and cannot be published.
publishConfig?
optionalpublishConfig?:any
Defined in: packages/compiler/lib/definition.d.ts:631
Configuration for publishing the package.
repository?
optionalrepository?:string
Defined in: packages/compiler/lib/definition.d.ts:521
The URL to the package's repository.
resolutions?
optionalresolutions?:object
Defined in: packages/compiler/lib/definition.d.ts:607
Resolutions for dependencies.
Index Signature
[key: string]: string
scripts?
optionalscripts?:object
Defined in: packages/compiler/lib/definition.d.ts:557
The scripts that can be run for the package.
Index Signature
[key: string]: string
termsOfService?
optionaltermsOfService?:string
Defined in: packages/compiler/lib/definition.d.ts:639
The terms of service for the package.
title?
optionaltitle?:string
Defined in: packages/compiler/lib/definition.d.ts:643
The title of the package.
version?
optionalversion?:string
Defined in: packages/compiler/lib/definition.d.ts:495
The version of the package.
webda?
optionalwebda?:Partial<WebdaPackageDescriptor>
Defined in: packages/compiler/lib/definition.d.ts:635
Webda specific metadata for the package.