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

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

main string

The entry point to the definition (canonical to "main" in NPM's package.json).

browser object | string

A string, or map of paths, to override during resolution. See spec: https://github.com/defunctzombie/package-browser-field-spec

version string

The semver range this definition is typed for

homepage string

Homepage url of the source package

resolution object | string

Map of resolutions to install

files string[]

Used as an alternative or to complement main, specify an array of files that are exported but aren't already part of the resolution from main.

global boolean

Denote that this definition must be installed as global.

postmessage string

A message to emit to users after typings installation.

name string

The name of the definition

dependencies Record<string, string>

A map of dependencies required by the project.

devDependencies Record<string, string>

A map of dependencies required by the project during development.

peerDependencies Record<string, string>

A map of dependencies expected in the parent project for this dependency to work.

globalDependencies Record<string, string>

A map of global dependencies required by the project.

globalDevDependencies Record<string, string>

A map of global dependencies required by the project during development.