libman.json
client-side library config files
| Type | object |
|---|---|
| File match |
libman.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/libman-json/latest.json |
| Source | https://www.schemastore.org/libman.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
A list of library references.
version
enum
required
The syntax version of this config file.
All of
1.
specifiedProvider | defaultProvider specifiedProvider | defaultProvider
2.
specifiedDestination | defaultDestination specifiedDestination | defaultDestination
3.
variant
Definitions
libraryEntry
object
library
string
required
The unique identifier of the library.
minLength=1
files
string[]
The file names of the individual files to copy to the project.
destination
string
The relative folder path from this config file to the location where the files should be copied to.
pattern=^[^\\]+$
provider
string
The unique identifier of the provider
minLength=1
fileMappings
object[]
A list of file mappings.
specifiedProvider
object
libraries
defaultProvider
defaultProvider
string
The unique identifier of the provider to use as default.
minLength=1
specifiedDestination
object
libraries
defaultDestination
defaultDestination
string
The default destination to place library files.
minLength=1
fileMapping
libraries
manifestVersion3
object
version
const: "3.0"
required