-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
typings.json
83 lines (83 loc) · 2.57 KB
/
typings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": true,
"id": "https://json.schemastore.org/typings.json",
"properties": {
"main": {
"description": "The entry point to the definition (canonical to `\"main\"` in NPM's `package.json`).",
"type": "string"
},
"browser": {
"description": "A string, or map of paths, to override during resolution. See spec: https://github.com/defunctzombie/package-browser-field-spec",
"type": ["object", "string"]
},
"version": {
"description": "The semver range this definition is typed for",
"type": "string"
},
"homepage": {
"description": "Homepage url of the source package",
"type": "string"
},
"resolution": {
"description": "Map of resolutions to install",
"type": ["object", "string"]
},
"files": {
"description": "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`.",
"type": "array",
"items": {
"type": "string"
}
},
"global": {
"description": "Denote that this definition _must_ be installed as global.",
"type": "boolean"
},
"postmessage": {
"description": "A message to emit to users after typings installation.",
"type": "string"
},
"name": {
"description": "The name of the definition",
"type": "string"
},
"dependencies": {
"description": "A map of dependencies required by the project.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"devDependencies": {
"description": "A map of dependencies required by the project during development.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"peerDependencies": {
"description": "A map of dependencies expected in the parent project for this dependency to work.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"globalDependencies": {
"description": "A map of global dependencies required by the project.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"globalDevDependencies": {
"description": "A map of global dependencies required by the project during development.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"title": "JSON schema for Typings TypeScript definitions manager",
"type": "object"
}