Type object
File match bower.json .bower.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/bower-json/latest.json
Source https://www.schemastore.org/bower.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

name string required

The name of your package.

minLength=1maxLength=50
description string

Help users identify and search for your package with a brief description.

maxLength=140
version string

A semantic version number.

main string | array

The primary acting files necessary to use your package.

license string | array

SPDX license identifier or path/url to a license.

maxLength=140
ignore string | array

A list of files for Bower to ignore when installing your package.

keywords string[]

Used for search by keyword. Helps make your package easier to discover without people needing to know its name.

authors string | object[]

A list of people that authored the contents of the package.

homepage string

URL to learn more about the package. Falls back to GitHub project if not specified and it's a GitHub endpoint.

format=uri
repository object

The repository in which the source code can be found.

2 nested properties
type string
Values: "git"
url string
format=uri
dependencies Record<string, string>

Dependencies are specified with a simple hash of package name to a semver compatible identifier or URL.

devDependencies Record<string, string>

Dependencies that are only needed for development of the package, e.g., test framework or building documentation.

resolutions object

Dependency versions to automatically resolve with if conflicts occur between packages.

private boolean

If you set it to true it will refuse to publish it. This is a way to prevent accidental publication of private repositories.

exportsOverride Record<string, object>

Used by grunt-bower-task to specify custom install locations.

moduleType array | string

The types of modules this package exposes